pub struct DefMap<BlockId, DefId, DefType> { /* private fields */ }
Expand description
All blocks and ddefinitions they contain, which have to be computed first, and remain immutable, because where a value is defined (or whether it’s at all part of the function itself) can have non-monotonic effects elsewhere.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<BlockId, DefId, DefType> Freeze for DefMap<BlockId, DefId, DefType>
impl<BlockId, DefId, DefType> RefUnwindSafe for DefMap<BlockId, DefId, DefType>
impl<BlockId, DefId, DefType> Send for DefMap<BlockId, DefId, DefType>
impl<BlockId, DefId, DefType> Sync for DefMap<BlockId, DefId, DefType>
impl<BlockId, DefId, DefType> Unpin for DefMap<BlockId, DefId, DefType>
impl<BlockId, DefId, DefType> UnwindSafe for DefMap<BlockId, DefId, DefType>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more