[−][src]Enum rustc_metadata::rmeta::LazyState

pub(in rmeta) enum LazyState {
    NoNode,
    NodeStart(NonZeroUsize),
    Previous(NonZeroUsize),
}

Encoding / decoding state for Lazy.

Variants

NoNode

Outside of a metadata node.

NodeStart(NonZeroUsize)

Inside a metadata node, and before any Lazy. The position is that of the node itself.

Previous(NonZeroUsize)

Inside a metadata node, with a previous Lazy. The position is a conservative estimate of where that previous Lazy would end (see their comments).

Trait Implementations

impl Clone for LazyState[src]

impl Copy for LazyState[src]

impl Debug for LazyState[src]

impl Eq for LazyState[src]

impl PartialEq<LazyState> for LazyState[src]

impl StructuralEq for LazyState[src]

impl StructuralPartialEq for LazyState[src]

Auto Trait Implementations

impl RefUnwindSafe for LazyState

impl Send for LazyState

impl Sync for LazyState

impl Unpin for LazyState

impl UnwindSafe for LazyState

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized, 
[src]

impl<T> Borrow<T> for T where
    T: ?Sized, 
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized, 
[src]

impl<'a, T> Captures<'a> for T where
    T: ?Sized, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone, 
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.