[][src]Enum cranelift_codegen_meta::cdsl::instructions::InstSpec

pub(crate) enum InstSpec {
    Inst(Rc<InstructionContent>),
    Bound(BoundInstruction),
}

An instruction specification, containing an instruction that has bound types or not.

Variants

Methods

impl InstSpec[src]

pub fn inst(&self) -> &Rc<InstructionContent>[src]

Trait Implementations

impl Bindable for InstSpec[src]

impl<'_> Into<InstSpec> for &'_ Rc<InstructionContent>[src]

impl Into<InstSpec> for BoundInstruction[src]

Auto Trait Implementations

impl !RefUnwindSafe for InstSpec

impl !Send for InstSpec

impl !Sync for InstSpec

impl Unpin for InstSpec

impl !UnwindSafe for InstSpec

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.