Enum rustc_serialize::json::StackElement [−][src]
Expand description
StackElements compose a Stack.
As an example, StackElement::Key("foo"), StackElement::Key("bar"),
StackElement::Index(3), and StackElement::Key("x") are the
StackElements composing the stack that represents foo.bar[3].x.
Variants
Index(u32)
Tuple Fields
0: u32Key(&'l str)
Tuple Fields
0: &'l strTrait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl<'l> RefUnwindSafe for StackElement
impl<'l> Send for StackElement
impl<'l> Sync for StackElement
impl<'l> Unpin for StackElement
impl<'l> UnwindSafe for StackElement
Blanket Implementations
Mutably borrows from an owned value. Read more
Layout
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size: 24 bytes
Size for each variant:
Index: 4 bytesKey: 20 bytes
