Enum rustc_metadata::schema::LazyState[][src]

pub enum LazyState {
    NoNode,
    NodeStart(usize),
    Previous(usize),
}
🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

Encoding / decoding state for Lazy and LazySeq.

Variants

🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

Outside of a metadata node.

🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

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

🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

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

Trait Implementations

impl Copy for LazyState
[src]

impl Clone for LazyState
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for LazyState
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for LazyState
[src]

impl Debug for LazyState
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for LazyState

impl Sync for LazyState