pub struct Start<'a> {
pub func: Index<'a>,
pub args: Vec<ItemRef<'a, value>>,
pub results: Vec<Option<Id<'a>>>,
}Available on crate feature
component-model only.Expand description
A function to call at instantiation time.
Fields§
§func: Index<'a>The function to call.
args: Vec<ItemRef<'a, value>>The arguments to pass to the function.
results: Vec<Option<Id<'a>>>Names of the result values.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Start<'a>
impl<'a> RefUnwindSafe for Start<'a>
impl<'a> Send for Start<'a>
impl<'a> Sync for Start<'a>
impl<'a> Unpin for Start<'a>
impl<'a> UnwindSafe for Start<'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