Enum rustc_ast::ast::InlineAsmOperand [−][src]
pub enum InlineAsmOperand {
In {
reg: InlineAsmRegOrRegClass,
expr: P<Expr>,
},
Out {
reg: InlineAsmRegOrRegClass,
late: bool,
expr: Option<P<Expr>>,
},
InOut {
reg: InlineAsmRegOrRegClass,
late: bool,
expr: P<Expr>,
},
SplitInOut {
reg: InlineAsmRegOrRegClass,
late: bool,
in_expr: P<Expr>,
out_expr: Option<P<Expr>>,
},
Const {
anon_const: AnonConst,
},
Sym {
expr: P<Expr>,
},
}Expand description
Inline assembly operand.
E.g., out("eax") result as in asm!("mov eax, 2", out("eax") result).
Variants
Show fields
Fields of In
reg: InlineAsmRegOrRegClassexpr: P<Expr>Show fields
Fields of Out
Show fields
Fields of InOut
Show fields
Show fields
Fields of Const
anon_const: AnonConstTrait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for InlineAsmOperandimpl !Send for InlineAsmOperandimpl !Sync for InlineAsmOperandimpl Unpin for InlineAsmOperandimpl !UnwindSafe for InlineAsmOperandBlanket Implementations
Mutably borrows from an owned value. Read more
Layout
Note: Most layout information is completely unstable and may be different between compiler versions and platforms. The only exception is types with certain repr(...) attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size: 32 bytes