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 {
        expr: &'thir Expr<'thir, 'tcx>,
    },
    SymFn {
        expr: &'thir Expr<'thir, 'tcx>,
    },
    SymStatic {
        def_id: DefId,
    },
}

Variants

In

Fields of In

reg: InlineAsmRegOrRegClassexpr: &'thir Expr<'thir, 'tcx>
Out

Fields of Out

reg: InlineAsmRegOrRegClasslate: boolexpr: Option<&'thir Expr<'thir, 'tcx>>
InOut

Fields of InOut

reg: InlineAsmRegOrRegClasslate: boolexpr: &'thir Expr<'thir, 'tcx>
SplitInOut

Fields of SplitInOut

reg: InlineAsmRegOrRegClasslate: boolin_expr: &'thir Expr<'thir, 'tcx>out_expr: Option<&'thir Expr<'thir, 'tcx>>
Const

Fields of Const

expr: &'thir Expr<'thir, 'tcx>
SymFn

Fields of SymFn

expr: &'thir Expr<'thir, 'tcx>
SymStatic

Fields of SymStatic

def_id: DefId

Trait Implementations

impl<'thir, 'tcx> ArenaAllocatable<'thir, 'tcx, InlineAsmOperand<'thir, 'tcx>> for InlineAsmOperand<'thir, 'tcx>[src]

impl<'thir, 'tcx> Debug for InlineAsmOperand<'thir, 'tcx>[src]

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, 

impl<'thir, 'tcx> !UnwindSafe for InlineAsmOperand<'thir, 'tcx>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized, 
[src]

impl<T> Borrow<T> for T where
    T: ?Sized, 
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized, 
[src]

impl<'a, T> Captures<'a> for T where
    T: ?Sized, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.