pub struct WitInterface {
pub name: String,
pub items: Vec<WitInterfaceItem>,
}Expand description
WIT interface
Fields§
§name: StringThe name of the interface.
items: Vec<WitInterfaceItem>The items defined in the 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 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto 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