Enum uniffi::deps::static_assertions::_core::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 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
§impl<T, UT> HandleAlloc<UT> for T
impl<T, UT> HandleAlloc<UT> for T
§fn new_handle(value: Arc<T>) -> Handle
fn new_handle(value: Arc<T>) -> Handle
Create a new handle for an Arc value Read more
§fn clone_handle(handle: Handle) -> Handle
fn clone_handle(handle: Handle) -> Handle
Clone a handle Read more
§fn consume_handle(handle: Handle) -> Arc<T>
fn consume_handle(handle: Handle) -> Arc<T>
Consume a handle, getting back the initial
Arc<>