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§
source§impl<'a> Debug for ComponentFunctionParam<'a>
impl<'a> Debug for ComponentFunctionParam<'a>
Auto Trait Implementations§
impl<'a> Freeze for ComponentFunctionParam<'a>
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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more