Struct rustc_mir_build::build::BlockAnd
source · 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.
Tuple Fields§
§0: BasicBlock
§1: T
Auto Trait Implementations§
impl<T> RefUnwindSafe for BlockAnd<T>where T: RefUnwindSafe,
impl<T> Send for BlockAnd<T>where T: Send,
impl<T> Sync for BlockAnd<T>where T: Sync,
impl<T> Unpin for BlockAnd<T>where T: Unpin,
impl<T> UnwindSafe for BlockAnd<T>where T: UnwindSafe,
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
Layout§
Note: Unable to compute type layout, possibly due to this type having generic parameters. Layout can only be computed for concrete, fully-instantiated types.