Struct rustc_mir_build::build::BlockAnd [−][src]
#[must_use = "if you don't use one of these results, you're leaving a dangling edge"]struct BlockAnd<T>(BasicBlock, T);
Expand description
The BlockAnd “monad” packages up the new basic block along with a
produced value (sometimes just unit, of course). The unpack!
macro (and methods below) makes working with BlockAnd much more
convenient.
Auto Trait Implementations
impl<T> RefUnwindSafe for BlockAnd<T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
impl<T> Send for BlockAnd<T> where
T: Send,
T: Send,
impl<T> Sync for BlockAnd<T> where
T: Sync,
T: Sync,
impl<T> Unpin for BlockAnd<T> where
T: Unpin,
T: Unpin,
impl<T> UnwindSafe for BlockAnd<T> where
T: UnwindSafe,
T: UnwindSafe,
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<'a, T> Captures<'a> for T where
T: ?Sized, [src]
T: ?Sized,