pub struct ComponentOutputArgs {
pub ctx: *mut (),
pub imports: ComponentImports,
pub inputs_ptr: *const u8,
}Expand description
Holds the arguments passed to an __afia__$output$123 function.
Fields§
§ctx: *mut ()The component instance’s context, represented as a type-erased pointer.
imports: ComponentImportsThe ComponentImports.
inputs_ptr: *const u8Before running the component, the Afia host copies the component’s inputs into the component guest’s memory. This pointer points to those inputs.
Trait Implementations§
Source§impl Clone for ComponentOutputArgs
impl Clone for ComponentOutputArgs
Source§fn clone(&self) -> ComponentOutputArgs
fn clone(&self) -> ComponentOutputArgs
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ComponentOutputArgs
impl RefUnwindSafe for ComponentOutputArgs
impl !Send for ComponentOutputArgs
impl !Sync for ComponentOutputArgs
impl Unpin for ComponentOutputArgs
impl UnsafeUnpin for ComponentOutputArgs
impl UnwindSafe for ComponentOutputArgs
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