Enum rustc_serialize::json::StackElement
[−]
[src]
pub enum StackElement<'l> { Index(u32), Key(&'l str), }
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 | ||
Key |
Trait Implementations
Derived Implementations
impl<'l> Debug for StackElement<'l>
[src]
impl<'l> Clone for 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
Performs copy-assignment from source
. Read more
impl<'l> PartialEq for StackElement<'l>
[src]
fn eq(&self, __arg_0: &StackElement<'l>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &StackElement<'l>) -> bool
This method tests for !=
.