Enum rustc_serialize::json::StackElement [−][src]
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
Index(u32)
Key(&'l str)
Trait Implementations
impl<'l> PartialEq for StackElement<'l>
[src]
impl<'l> PartialEq for StackElement<'l>
fn eq(&self, other: &StackElement<'l>) -> bool
[src]
fn eq(&self, other: &StackElement<'l>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &StackElement<'l>) -> bool
[src]
fn ne(&self, other: &StackElement<'l>) -> bool
This method tests for !=
.
impl<'l> Clone for StackElement<'l>
[src]
impl<'l> Clone for StackElement<'l>
fn clone(&self) -> StackElement<'l>
[src]
fn clone(&self) -> StackElement<'l>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl<'l> Debug for StackElement<'l>
[src]
impl<'l> Debug for StackElement<'l>
Auto Trait Implementations
impl<'l> Send for StackElement<'l>
impl<'l> Send for StackElement<'l>
impl<'l> Sync for StackElement<'l>
impl<'l> Sync for StackElement<'l>