Struct wast::component::OptionType
source · [−]pub struct OptionType<'a> {
pub element: Box<ComponentValType<'a>>,
}
Expand description
An optional type.
Fields
element: Box<ComponentValType<'a>>
The type of the value, when a value is present.
Trait Implementations
sourceimpl<'a> Debug for OptionType<'a>
impl<'a> Debug for OptionType<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for OptionType<'a>
impl<'a> Send for OptionType<'a>
impl<'a> Sync for OptionType<'a>
impl<'a> Unpin for OptionType<'a>
impl<'a> UnwindSafe for OptionType<'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