Enum rustc_metadata::schema::LazyState [−][src]
🔬 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
NoNode
🔬 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.
NodeStart(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?
Inside a metadata node, and before any Lazy
or LazySeq
.
The position is that of the node itself.
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?
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 Copy for LazyState
impl Clone for LazyState
[src]
impl Clone for LazyState
fn clone(&self) -> LazyState
[src]
fn clone(&self) -> LazyState
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl PartialEq for LazyState
[src]
impl PartialEq for LazyState
fn eq(&self, other: &LazyState) -> bool
[src]
fn eq(&self, other: &LazyState) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &LazyState) -> bool
[src]
fn ne(&self, other: &LazyState) -> bool
This method tests for !=
.
impl Eq for LazyState
[src]
impl Eq for LazyState
fn assert_receiver_is_total_eq(&self)
[src]
fn assert_receiver_is_total_eq(&self)
impl Debug for LazyState
[src]
impl Debug for LazyState