Enum rustc_ap_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)
Key(&'l str)
Trait 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<'l>
impl<'l> Send for StackElement<'l>
impl<'l> Sync for StackElement<'l>
impl<'l> Unpin for StackElement<'l>
impl<'l> UnwindSafe for StackElement<'l>
Blanket Implementations
Mutably borrows from an owned value. Read more