[−][src]Enum rustc_mir_build::thir::InlineAsmOperand

pub(crate) enum InlineAsmOperand<'tcx> {
    In {
        reg: InlineAsmRegOrRegClass,
        expr: ExprRef<'tcx>,
    },
    Out {
        reg: InlineAsmRegOrRegClass,
        late: bool,
        expr: Option<ExprRef<'tcx>>,
    },
    InOut {
        reg: InlineAsmRegOrRegClass,
        late: bool,
        expr: ExprRef<'tcx>,
    },
    SplitInOut {
        reg: InlineAsmRegOrRegClass,
        late: bool,
        in_expr: ExprRef<'tcx>,
        out_expr: Option<ExprRef<'tcx>>,
    },
    Const {
        expr: ExprRef<'tcx>,
    },
    SymFn {
        expr: ExprRef<'tcx>,
    },
    SymStatic {
        def_id: DefId,
    },
}

Variants

In

Fields of In

reg: InlineAsmRegOrRegClassexpr: ExprRef<'tcx>
Out

Fields of Out

reg: InlineAsmRegOrRegClasslate: boolexpr: Option<ExprRef<'tcx>>
InOut

Fields of InOut

reg: InlineAsmRegOrRegClasslate: boolexpr: ExprRef<'tcx>
SplitInOut

Fields of SplitInOut

reg: InlineAsmRegOrRegClasslate: boolin_expr: ExprRef<'tcx>out_expr: Option<ExprRef<'tcx>>
Const

Fields of Const

expr: ExprRef<'tcx>
SymFn

Fields of SymFn

expr: ExprRef<'tcx>
SymStatic

Fields of SymStatic

def_id: DefId

Trait Implementations

impl<'tcx> Clone for InlineAsmOperand<'tcx>[src]

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

Auto Trait Implementations

impl<'tcx> !RefUnwindSafe for InlineAsmOperand<'tcx>

impl<'tcx> !Send for InlineAsmOperand<'tcx>

impl<'tcx> !Sync for InlineAsmOperand<'tcx>

impl<'tcx> Unpin for InlineAsmOperand<'tcx>

impl<'tcx> !UnwindSafe for InlineAsmOperand<'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> ToOwned for T where
    T: Clone, 
[src]

type Owned = T

The resulting type after obtaining ownership.

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.