Skip to main content

FuncOpExt

Trait FuncOpExt 

Source
pub trait FuncOpExt {
    // Required methods
    fn push_argument(&self, ctx: &Context, ty: TypeHandle) -> usize;
    fn pop_argument(&self, ctx: &Context);
    fn remove_argument(&self, ctx: &Context, arg_idx: usize);
    fn return_type(&self, ctx: &Context) -> TypeHandle;
}

Required Methods§

Source

fn push_argument(&self, ctx: &Context, ty: TypeHandle) -> usize

Source

fn pop_argument(&self, ctx: &Context)

Source

fn remove_argument(&self, ctx: &Context, arg_idx: usize)

Source

fn return_type(&self, ctx: &Context) -> TypeHandle

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl FuncOpExt for FuncOp

Source§

fn push_argument(&self, ctx: &Context, ty: TypeHandle) -> usize

Source§

fn pop_argument(&self, ctx: &Context)

Source§

fn remove_argument(&self, ctx: &Context, arg_idx: usize)

Source§

fn return_type(&self, ctx: &Context) -> TypeHandle

Implementors§