Struct wast::component::ComponentType
source · [−]pub struct ComponentType<'a> {
pub decls: Vec<ComponentTypeDecl<'a>>,
}
Expand description
A type definition for a component type.
Fields
decls: Vec<ComponentTypeDecl<'a>>
The declarations of the component type.
Trait Implementations
sourceimpl<'a> Debug for ComponentType<'a>
impl<'a> Debug for ComponentType<'a>
sourceimpl<'a> Default for ComponentType<'a>
impl<'a> Default for ComponentType<'a>
sourcefn default() -> ComponentType<'a>
fn default() -> ComponentType<'a>
Returns the “default value” for a type. Read more
sourceimpl From<&'_ ComponentType<'_>> for ComponentType
impl From<&'_ ComponentType<'_>> for ComponentType
sourcefn from(ty: &ComponentType<'_>) -> Self
fn from(ty: &ComponentType<'_>) -> Self
Performs the conversion.
Auto Trait Implementations
impl<'a> RefUnwindSafe for ComponentType<'a>
impl<'a> Send for ComponentType<'a>
impl<'a> Sync for ComponentType<'a>
impl<'a> Unpin for ComponentType<'a>
impl<'a> UnwindSafe for ComponentType<'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