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

pub(crate) struct InstructionGroupBuilder<'all_inst> {
    all_instructions: &'all_inst mut PrimaryMap<OpcodeNumber, Rc<InstructionContent>>,
    own_instructions: Vec<Rc<InstructionContent>>,
}

Fields

all_instructions: &'all_inst mut PrimaryMap<OpcodeNumber, Rc<InstructionContent>>own_instructions: Vec<Rc<InstructionContent>>

Methods

impl<'all_inst> InstructionGroupBuilder<'all_inst>[src]

pub fn new(
    all_instructions: &'all_inst mut PrimaryMap<OpcodeNumber, Rc<InstructionContent>>
) -> Self
[src]

pub fn push(&mut self, builder: InstructionBuilder)[src]

pub fn build(self) -> InstructionGroup[src]

Auto Trait Implementations

impl<'all_inst> !RefUnwindSafe for InstructionGroupBuilder<'all_inst>

impl<'all_inst> !Send for InstructionGroupBuilder<'all_inst>

impl<'all_inst> !Sync for InstructionGroupBuilder<'all_inst>

impl<'all_inst> Unpin for InstructionGroupBuilder<'all_inst>

impl<'all_inst> !UnwindSafe for InstructionGroupBuilder<'all_inst>

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.