Struct wasmer_wasm_interface::interface::Interface
source · pub struct Interface {
pub name: Option<String>,
pub imports: HashMap<(String, String), Import>,
pub exports: HashMap<String, Export>,
}
Fields§
§name: Option<String>
The name the interface gave itself
imports: HashMap<(String, String), Import>
Things that the module can import
exports: HashMap<String, Export>
Things that the module must export
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Interface
impl<'de> Deserialize<'de> for Interface
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for Interface
impl PartialEq for Interface
impl Eq for Interface
impl StructuralEq for Interface
impl StructuralPartialEq for Interface
Auto Trait Implementations§
impl RefUnwindSafe for Interface
impl Send for Interface
impl Sync for Interface
impl Unpin for Interface
impl UnwindSafe for Interface
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