pub struct AsmOperand {
pub name: Option<Ident>,
pub constraint: Spanned<String>,
pub expr: Expr,
}Expand description
One operand of an extended AsmStmt: [name] "constraint" (expr).
Fields§
§name: Option<Ident>The symbolic name %[name] refers to it by, if any.
constraint: Spanned<String>The constraint string, modifiers (=, +, &) included.
expr: ExprThe operand: an lvalue for an output, any expression for an input.
Trait Implementations§
Source§impl Clone for AsmOperand
impl Clone for AsmOperand
Source§impl Debug for AsmOperand
impl Debug for AsmOperand
Source§impl PartialEq for AsmOperand
impl PartialEq for AsmOperand
impl StructuralPartialEq for AsmOperand
Auto Trait Implementations§
impl Freeze for AsmOperand
impl RefUnwindSafe for AsmOperand
impl Send for AsmOperand
impl Sync for AsmOperand
impl Unpin for AsmOperand
impl UnsafeUnpin for AsmOperand
impl UnwindSafe for AsmOperand
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