Enum serialize::json::StackElement [] [src]

pub enum StackElement<'l> {
    Index(u32),
    Key(&'l str),
}
Unstable

: deprecated in favor of rustc-serialize on crates.io

StackElements compose a Stack. For example, StackElement::Key("foo"), StackElement::Key("bar"), StackElement::Index(3) and StackElement::Key("x") are the StackElements compositing the stack that represents foo.bar[3].x

Variants

Index
Unstable

: deprecated in favor of rustc-serialize on crates.io

Key
Unstable

: deprecated in favor of rustc-serialize on crates.io

Trait Implementations

Derived Implementations

impl<'l> Debug for StackElement<'l>

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl<'l> Clone for StackElement<'l>

fn clone(&self) -> StackElement<'l>

fn clone_from(&mut self, source: &Self)

impl<'l> PartialEq for StackElement<'l>

fn eq(&self, __arg_0: &StackElement<'l>) -> bool

fn ne(&self, __arg_0: &StackElement<'l>) -> bool