pub struct WITInterface {
pub name: String,
pub functions: Vec<WITFunction>,
pub types: Vec<WITType>,
}Expand description
WIT (WebAssembly Interface Type) interface
Fields§
§name: StringInterface name
functions: Vec<WITFunction>Functions in this interface
types: Vec<WITType>Types defined in this interface
Trait Implementations§
Source§impl Clone for WITInterface
impl Clone for WITInterface
Source§fn clone(&self) -> WITInterface
fn clone(&self) -> WITInterface
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for WITInterface
impl Debug for WITInterface
Source§impl<'de> Deserialize<'de> for WITInterface
impl<'de> Deserialize<'de> for WITInterface
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
Auto Trait Implementations§
impl Freeze for WITInterface
impl RefUnwindSafe for WITInterface
impl Send for WITInterface
impl Sync for WITInterface
impl Unpin for WITInterface
impl UnsafeUnpin for WITInterface
impl UnwindSafe for WITInterface
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