pub struct ComponentFunctionResult<'a> {
pub name: Option<&'a str>,
pub ty: ComponentValType<'a>,
}
Available on crate feature
component-model
only.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§
Source§impl<'a> Debug for ComponentFunctionResult<'a>
impl<'a> Debug for ComponentFunctionResult<'a>
Auto Trait Implementations§
impl<'a> Freeze for ComponentFunctionResult<'a>
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§
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