pub struct AsmOperand {
pub name: Option<Symbol>,
pub constraint: StrId,
pub value: ExprId,
pub span: Span,
}Expand description
One operand of an assembly statement.
Fields§
§name: Option<Symbol>The [name] in front of the constraint, which lets the template say %[name] instead
of counting operands.
constraint: StrIdThe constraint string, which is read by the target and not here.
value: ExprIdThe expression, which is an lvalue for an output.
span: SpanThe whole operand.
Trait Implementations§
Source§impl Clone for AsmOperand
impl Clone for AsmOperand
Source§fn clone(&self) -> AsmOperand
fn clone(&self) -> AsmOperand
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for AsmOperand
Source§impl Debug for AsmOperand
impl Debug for AsmOperand
impl Eq 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