[−][src]Enum rustc_hir::hir::InlineAsmOperand

pub enum InlineAsmOperand<'hir> {
    In {
        reg: InlineAsmRegOrRegClass,
        expr: Expr<'hir>,
    },
    Out {
        reg: InlineAsmRegOrRegClass,
        late: bool,
        expr: Option<Expr<'hir>>,
    },
    InOut {
        reg: InlineAsmRegOrRegClass,
        late: bool,
        expr: Expr<'hir>,
    },
    SplitInOut {
        reg: InlineAsmRegOrRegClass,
        late: bool,
        in_expr: Expr<'hir>,
        out_expr: Option<Expr<'hir>>,
    },
    Const {
        expr: Expr<'hir>,
    },
    Sym {
        expr: Expr<'hir>,
    },
}

Variants

In

Fields of In

reg: InlineAsmRegOrRegClassexpr: Expr<'hir>
Out

Fields of Out

reg: InlineAsmRegOrRegClasslate: boolexpr: Option<Expr<'hir>>
InOut

Fields of InOut

reg: InlineAsmRegOrRegClasslate: boolexpr: Expr<'hir>
SplitInOut

Fields of SplitInOut

reg: InlineAsmRegOrRegClasslate: boolin_expr: Expr<'hir>out_expr: Option<Expr<'hir>>
Const

Fields of Const

expr: Expr<'hir>
Sym

Fields of Sym

expr: Expr<'hir>

Implementations

impl<'hir> InlineAsmOperand<'hir>[src]

pub fn reg(&self) -> Option<InlineAsmRegOrRegClass>[src]

Trait Implementations

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

impl<'hir, __CTX> HashStable<__CTX> for InlineAsmOperand<'hir> where
    __CTX: HashStableContext, 
[src]

Auto Trait Implementations

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

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

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

impl<'hir> Unpin for InlineAsmOperand<'hir>

impl<'hir> !UnwindSafe for InlineAsmOperand<'hir>

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<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.