[−][src]Enum rustc_ap_rustc_serialize::json::StackElement
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
impl<'l> Clone for StackElement<'l>
[src]
fn clone(&self) -> StackElement<'l>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'l> Debug for StackElement<'l>
[src]
impl<'l> PartialEq<StackElement<'l>> for StackElement<'l>
[src]
fn eq(&self, other: &StackElement<'l>) -> bool
[src]
fn ne(&self, other: &StackElement<'l>) -> bool
[src]
impl<'l> StructuralPartialEq for StackElement<'l>
[src]
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
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,