pub struct Context {
pub size: u64,
pub input: [u8; 64],
/* private fields */
}
Fields§
§size: u64
The total size of the recieved input
input: [u8; 64]
The input buffer
Note: only access directly if you’re writing to it, (e.g. if you want to write to it via Wasm memory)
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Context
impl RefUnwindSafe for Context
impl Send for Context
impl Sync for Context
impl Unpin for Context
impl UnwindSafe for Context
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