Enum rustc_metadata::rmeta::LazyState [−][src]
enum LazyState {
NoNode,
NodeStart(NonZeroUsize),
Previous(NonZeroUsize),
}Expand description
Encoding / decoding state for Lazy.
Variants
Expand description
Outside of a metadata node.
NodeStart(NonZeroUsize)Expand description
Inside a metadata node, and before any Lazy.
The position is that of the node itself.
Previous(NonZeroUsize)Expand description
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 Copy for LazyState[src]
impl Eq 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> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone, [src]
impl<T> ToOwned for T where
T: Clone, [src]type Owned = T
type Owned = TThe resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn to_owned(&self) -> T[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)[src]
pub fn clone_into(&self, target: &mut T)[src]🔬 This is a nightly-only experimental API. (toowned_clone_into)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<'a, T> Captures<'a> for T where
T: ?Sized, [src]
T: ?Sized,