Struct wast::component::ComponentFunctionParam
source · [−]pub struct ComponentFunctionParam<'a> {
pub name: &'a str,
pub ty: ComponentValType<'a>,
}
Expand description
A parameter of a ComponentFunctionType
.
Fields
name: &'a str
The name of the parameter
ty: ComponentValType<'a>
The type of the parameter.
Trait Implementations
sourceimpl<'a> Debug for ComponentFunctionParam<'a>
impl<'a> Debug for ComponentFunctionParam<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for ComponentFunctionParam<'a>
impl<'a> Send for ComponentFunctionParam<'a>
impl<'a> Sync for ComponentFunctionParam<'a>
impl<'a> Unpin for ComponentFunctionParam<'a>
impl<'a> UnwindSafe for ComponentFunctionParam<'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