Trait Import

Source
pub trait Import<Ty> {
    // Required method
    fn import<S, T>(&mut self, module: S, name: T, index: Ty) -> ImportIndex
       where S: Into<String>,
             T: Into<String>;
}

Required Methods§

Source

fn import<S, T>(&mut self, module: S, name: T, index: Ty) -> ImportIndex
where S: Into<String>, T: Into<String>,

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§