Enum creusot_contracts::std::intrinsics::mir::BasicBlock
source · 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
source§impl<T> MakeSized for Twhere
T: ?Sized,
impl<T> MakeSized for Twhere
T: ?Sized,
source§fn make_sized(&self) -> Box<T>
fn make_sized(&self) -> Box<T>
logic ⚠
ensures
*result == *self