Enum wast::component::CoreTypeDef
source · [−]pub enum CoreTypeDef<'a> {
Def(TypeDef<'a>),
Module(ModuleType<'a>),
}
Expand description
Represents a core type definition.
In the future this may be removed when module types are a part of a core module.
Variants
Def(TypeDef<'a>)
The type definition is one of the core types.
Module(ModuleType<'a>)
The type definition is a module type.
Trait Implementations
sourceimpl<'a> Debug for CoreTypeDef<'a>
impl<'a> Debug for CoreTypeDef<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for CoreTypeDef<'a>
impl<'a> Send for CoreTypeDef<'a>
impl<'a> Sync for CoreTypeDef<'a>
impl<'a> Unpin for CoreTypeDef<'a>
impl<'a> UnwindSafe for CoreTypeDef<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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