pub struct ReturnArguments {
pub upcall_id: UpcallId,
pub argument0: usize,
pub argument1: usize,
pub argument2: usize,
}Expand description
This is similar to FunctionCall but for the special case of the Null
Upcall for a subscribe.
Because there is no function pointer in a Null Upcall we can only return these values to userspace. This is used to pass around upcall parameters when there is no associated upcall to actually call or userdata.
Fields§
§upcall_id: UpcallIdWhich upcall generates this event.
argument0: usizeThe first argument to return.
argument1: usizeThe second argument to return.
argument2: usizeThe third argument to return.
Trait Implementations§
Source§impl Clone for ReturnArguments
impl Clone for ReturnArguments
Source§fn clone(&self) -> ReturnArguments
fn clone(&self) -> ReturnArguments
Returns a copy 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 moreSource§impl Debug for ReturnArguments
impl Debug for ReturnArguments
impl Copy for ReturnArguments
Auto Trait Implementations§
impl Freeze for ReturnArguments
impl RefUnwindSafe for ReturnArguments
impl Send for ReturnArguments
impl Sync for ReturnArguments
impl Unpin for ReturnArguments
impl UnwindSafe for ReturnArguments
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