Enum rustc_mir_build::thir::InlineAsmOperand [−][src]
pub enum InlineAsmOperand<'thir, 'tcx> {
In {
reg: InlineAsmRegOrRegClass,
expr: &'thir Expr<'thir, 'tcx>,
},
Out {
reg: InlineAsmRegOrRegClass,
late: bool,
expr: Option<&'thir Expr<'thir, 'tcx>>,
},
InOut {
reg: InlineAsmRegOrRegClass,
late: bool,
expr: &'thir Expr<'thir, 'tcx>,
},
SplitInOut {
reg: InlineAsmRegOrRegClass,
late: bool,
in_expr: &'thir Expr<'thir, 'tcx>,
out_expr: Option<&'thir Expr<'thir, 'tcx>>,
},
Const {
value: &'tcx Const<'tcx>,
span: Span,
},
SymFn {
expr: &'thir Expr<'thir, 'tcx>,
},
SymStatic {
def_id: DefId,
},
}Variants
Show fields
Fields of In
reg: InlineAsmRegOrRegClassexpr: &'thir Expr<'thir, 'tcx>Show fields
Fields of Out
Show fields
Fields of InOut
Show fields
Fields of SplitInOut
reg: InlineAsmRegOrRegClasslate: boolin_expr: &'thir Expr<'thir, 'tcx>out_expr: Option<&'thir Expr<'thir, 'tcx>>Show fields
Fields of SymFn
expr: &'thir Expr<'thir, 'tcx>Show fields
Fields of SymStatic
def_id: DefIdTrait Implementations
impl<'thir, 'tcx> ArenaAllocatable<'thir, 'tcx, InlineAsmOperand<'thir, 'tcx>> for InlineAsmOperand<'thir, 'tcx>[src]
impl<'thir, 'tcx> ArenaAllocatable<'thir, 'tcx, InlineAsmOperand<'thir, 'tcx>> for InlineAsmOperand<'thir, 'tcx>[src]fn allocate_on(self, arena: &'thir Arena<'thir, 'tcx>) -> &'thir mut Self[src]
fn allocate_from_iter(
arena: &'thir Arena<'thir, 'tcx>,
iter: impl IntoIterator<Item = Self>
) -> &'thir mut [Self][src]
arena: &'thir Arena<'thir, 'tcx>,
iter: impl IntoIterator<Item = Self>
) -> &'thir mut [Self]
Auto Trait Implementations
impl<'thir, 'tcx> !RefUnwindSafe for InlineAsmOperand<'thir, 'tcx>
impl<'thir, 'tcx> !Send for InlineAsmOperand<'thir, 'tcx>
impl<'thir, 'tcx> !Sync for InlineAsmOperand<'thir, 'tcx>
impl<'thir, 'tcx> Unpin for InlineAsmOperand<'thir, 'tcx> where
'tcx: 'thir,
'tcx: 'thir,
impl<'thir, 'tcx> !UnwindSafe for InlineAsmOperand<'thir, 'tcx>
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<'a, T> Captures<'a> for T where
T: ?Sized, [src]
T: ?Sized,