pub struct Asm {
pub template: StrId,
pub outputs: AsmOperandList,
pub inputs: AsmOperandList,
pub clobbers: StrList,
pub labels: SymbolList,
pub quals: AsmQuals,
pub span: Span,
}Expand description
An asm statement or a file-scope asm.
Fields§
§template: StrIdThe template, with adjacent literals already joined by phase 7.
outputs: AsmOperandListThe output operands.
inputs: AsmOperandListThe input operands, which are numbered after the outputs.
clobbers: StrListThe clobber list.
labels: SymbolListThe labels of an asm goto, and empty otherwise.
quals: AsmQualsThe qualifiers written between asm and the parenthesis.
span: SpanThe whole statement.
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