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 UnsafeUnpin 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