#[repr(C)]
pub struct Usercall { pub id: u64, pub args: (u64, u64, u64, u64, u64), }
Expand description

An identified usercall.

Fields

id: u64

0 indicates this slot is empty.

args: (u64, u64, u64, u64, u64)

The elements correspond to the RDI, RSI, RDX, R8, and R9 registers in the synchronous calling convention.

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.