[−][src]Struct cranelift_codegen::ir::instructions::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]
self,
fixed: &[Value],
pool: &mut ValueListPool
) -> ValueList
Convert this to a value list in pool
with fixed
prepended.
Trait Implementations
impl DerefMut for VariableArgs
[src]
impl Deref for VariableArgs
[src]
impl Display for VariableArgs
[src]
impl Debug for VariableArgs
[src]
impl Clone for VariableArgs
[src]
fn clone(&self) -> VariableArgs
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Default for VariableArgs
[src]
Auto Trait Implementations
impl Unpin for VariableArgs
impl Send for VariableArgs
impl Sync for VariableArgs
impl UnwindSafe for VariableArgs
impl RefUnwindSafe for VariableArgs
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,