pub enum StackElement<'l> {
Index(u32),
Key(&'l str),
}Expand description
StackElements compose a Stack. For example, Key(“foo”), Key(“bar”), Index(3) and Key(“x”) are the StackElements compositing the stack that represents foo.bar[3].x
Variants§
Trait Implementations§
Source§impl<'l> Clone for StackElement<'l>
impl<'l> Clone for StackElement<'l>
Source§impl<'l> Debug for StackElement<'l>
impl<'l> Debug for StackElement<'l>
Source§impl<'l> PartialEq for StackElement<'l>
impl<'l> PartialEq for StackElement<'l>
impl<'l> StructuralPartialEq for StackElement<'l>
Auto Trait Implementations§
impl<'l> Freeze for StackElement<'l>
impl<'l> RefUnwindSafe for StackElement<'l>
impl<'l> Send for StackElement<'l>
impl<'l> Sync for StackElement<'l>
impl<'l> Unpin for StackElement<'l>
impl<'l> UnsafeUnpin for StackElement<'l>
impl<'l> UnwindSafe for StackElement<'l>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more