[−][src]Struct cranelift_codegen_meta::cdsl::ast::Apply
Apply an instruction to arguments.
An Apply
AST expression is created by using function call syntax on instructions. This
applies to both bound and unbound polymorphic instructions.
Fields
inst: Rc<InstructionContent>
args: Vec<Expr>
value_types: Vec<ValueType>
Implementations
impl Apply
[src]
pub fn new(target: InstSpec, args: Vec<Expr>) -> Self
[src]
fn to_comment_string(&self, var_pool: &VarPool) -> String
[src]
pub fn inst_predicate(&self, var_pool: &VarPool) -> InstructionPredicate
[src]
pub fn inst_predicate_with_ctrl_typevar(
&self,
var_pool: &VarPool
) -> InstructionPredicate
[src]
&self,
var_pool: &VarPool
) -> InstructionPredicate
Same as inst_predicate()
, but also check the controlling type variable.
pub fn rust_builder(
&self,
defined_vars: &[VarIndex],
var_pool: &VarPool
) -> String
[src]
&self,
defined_vars: &[VarIndex],
var_pool: &VarPool
) -> String
Auto Trait Implementations
impl !RefUnwindSafe for Apply
impl !Send for Apply
impl !Sync for Apply
impl Unpin for Apply
impl !UnwindSafe for Apply
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
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> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,