pub enum Adapter<'a> {
Type(Type<'a>),
Import(Import<'a>),
Export(Export<'a>),
Func(Func<'a>),
Implement(Implement<'a>),
}Expand description
List of possible @interface adapters that can be listed in a module.
Variants§
Type(Type<'a>)
An interface type definition (function signature).
Import(Import<'a>)
An import definition using interface types as a function signature.
Export(Export<'a>)
An export using wasm interface types as a function signature.
Func(Func<'a>)
An adapter function using wasm interface types.
Implement(Implement<'a>)
A connection between a core wasm import and an inline defined function.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Adapter<'a>
impl<'a> RefUnwindSafe for Adapter<'a>
impl<'a> Send for Adapter<'a>
impl<'a> Sync for Adapter<'a>
impl<'a> Unpin for Adapter<'a>
impl<'a> UnwindSafe for Adapter<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more