Struct wasmer_wit_parser::TypeDef
source · [−]pub struct TypeDef {
pub docs: Docs,
pub kind: TypeDefKind,
pub name: Option<String>,
pub foreign_module: Option<String>,
}
Fields
docs: Docs
kind: TypeDefKind
name: Option<String>
foreign_module: Option<String>
None
if this type is originally declared in this instance or
otherwise Some
if it was originally defined in a different module.
Trait Implementations
sourceimpl PartialEq<TypeDef> for TypeDef
impl PartialEq<TypeDef> for TypeDef
impl StructuralPartialEq for TypeDef
Auto Trait Implementations
impl RefUnwindSafe for TypeDef
impl Send for TypeDef
impl Sync for TypeDef
impl Unpin for TypeDef
impl UnwindSafe for TypeDef
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more