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§
fn import<S, T>(&mut self, module: S, name: T, index: Ty) -> ImportIndex
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.