Skip to main content

FunctionBuilder

Trait FunctionBuilder 

Source
pub trait FunctionBuilder {
    // Required method
    unsafe fn new<S1: AsRef<str>, S2: Borrow<str>>(
        name: &S1,
        args: &[S2],
        inner: Vec<Self>,
    ) -> Result<Function, AssemblerError>
       where Self: Sized;
}

Required Methods§

Source

unsafe fn new<S1: AsRef<str>, S2: Borrow<str>>( name: &S1, args: &[S2], inner: Vec<Self>, ) -> Result<Function, AssemblerError>
where Self: Sized,

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§