[][src]Struct cranelift_codegen_meta::cdsl::instructions::BoundInstruction

pub(crate) struct BoundInstruction {
    pub inst: Rc<InstructionContent>,
    pub value_types: Vec<ValueTypeOrAny>,
    pub immediate_values: Vec<Immediate>,
}

Fields

inst: Rc<InstructionContent>value_types: Vec<ValueTypeOrAny>immediate_values: Vec<Immediate>

Methods

impl BoundInstruction[src]

fn new(inst: &Rc<InstructionContent>) -> Self[src]

Construct a new bound instruction (with nothing bound yet) from an instruction

fn verify_bindings(&self) -> Result<(), String>[src]

Verify that the bindings for a BoundInstruction are correct.

Trait Implementations

impl Bindable for BoundInstruction[src]

impl Clone for BoundInstruction[src]

impl Into<InstSpec> for BoundInstruction[src]

Auto Trait Implementations

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