pub struct BlockType<'a> {
pub label: Option<Id<'a>>,
pub label_name: Option<NameAnnotation<'a>>,
pub ty: TypeUse<'a, FunctionType<'a>>,
}
Expand description
Extra information associated with block-related instructions.
This is used to label blocks and also annotate what types are expected for the block.
Fields
label: Option<Id<'a>>
label_name: Option<NameAnnotation<'a>>
ty: TypeUse<'a, FunctionType<'a>>
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for BlockType<'a>
impl<'a> Send for BlockType<'a>
impl<'a> Sync for BlockType<'a>
impl<'a> Unpin for BlockType<'a>
impl<'a> UnwindSafe for BlockType<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more