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