[][src]Struct cranelift_codegen::ir::instructions::VariableArgs

pub struct VariableArgs(_);

A variable list of Value operands used for function call arguments and passing arguments to basic blocks.

Methods

impl VariableArgs[src]

pub fn new() -> Self[src]

Create an empty argument list.

pub fn push(&mut self, v: Value)[src]

Add an argument to the end.

pub fn is_empty(&self) -> bool[src]

Check if the list is empty.

pub fn into_value_list(
    self,
    fixed: &[Value],
    pool: &mut ValueListPool
) -> ValueList
[src]

Convert this to a value list in pool with fixed prepended.

Trait Implementations

impl Clone for VariableArgs[src]

impl Debug for VariableArgs[src]

impl Default for VariableArgs[src]

impl Deref for VariableArgs[src]

type Target = [Value]

The resulting type after dereferencing.

impl DerefMut for VariableArgs[src]

impl Display for VariableArgs[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> ToString for T where
    T: Display + ?Sized
[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.