pub struct Label(pub u32);Expand description
Identifies a code label with a frontend-owned handle.
The frontend owns the meaning: onlineasm maps the index to an asmkit
label handle, offlineasm to a symbol name. The same handle appears in
operands (Op::Label) and at Inst::Bind.
Tuple Fields§
§0: u32Trait Implementations§
impl Copy for Label
impl Eq for Label
impl StructuralPartialEq for Label
Auto Trait Implementations§
impl Forget for Label
impl Freeze for Label
impl Move for Label
impl RefUnwindSafe for Label
impl Send for Label
impl Sync for Label
impl Unpin for Label
impl UnsafeUnpin for Label
impl UnwindSafe for Label
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