pub enum BasicBlock {
Normal,
Cleanup,
}
🔬This is a nightly-only experimental API. (
custom_mir
)Expand description
Type representing basic blocks.
All terminators will have this type as a return type. It helps achieve some type safety.
Variants§
Normal
🔬This is a nightly-only experimental API. (
custom_mir
)A non-cleanup basic block.
Cleanup
🔬This is a nightly-only experimental API. (
custom_mir
)A basic block that lies on an unwind path.
Auto Trait Implementations§
impl Freeze for BasicBlock
impl RefUnwindSafe for BasicBlock
impl Send for BasicBlock
impl Sync for BasicBlock
impl Unpin for BasicBlock
impl UnwindSafe for BasicBlock
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