pub struct Asm {
pub template: StrId,
pub outputs: AsmOperandList,
pub inputs: AsmOperandList,
pub clobbers: StrList,
pub labels: LabelList,
pub quals: AsmQuals,
}Expand description
One asm statement.
Fields§
§template: StrIdThe template, which is passed to the assembler with the operands substituted into it.
outputs: AsmOperandListThe output operands, which are numbered from zero.
inputs: AsmOperandListThe input operands, which are numbered after the outputs.
clobbers: StrListThe clobber list.
labels: LabelListThe labels of an asm goto, empty for everything else.
quals: AsmQualsThe qualifiers, with volatile set for a statement that implies it.
Trait Implementations§
impl Copy for Asm
impl Eq for Asm
impl StructuralPartialEq for Asm
Auto Trait Implementations§
impl Freeze for Asm
impl RefUnwindSafe for Asm
impl Send for Asm
impl Sync for Asm
impl Unpin for Asm
impl UnsafeUnpin for Asm
impl UnwindSafe for Asm
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