#[repr(C)]pub struct RISCVOptions {
pub max_memory: u64,
pub stack_size: u32,
pub strict_sandbox: i32,
pub argc: u32,
pub argv: *mut *const i8,
pub error: Option<unsafe extern "C" fn(*mut c_void, i32, *const i8, i64)>,
pub stdout: Option<unsafe extern "C" fn(*mut c_void, *const i8, u32)>,
pub opaque: *mut c_void,
}Fields§
§max_memory: u64§stack_size: u32§strict_sandbox: i32§argc: u32§argv: *mut *const i8§error: Option<unsafe extern "C" fn(*mut c_void, i32, *const i8, i64)>§stdout: Option<unsafe extern "C" fn(*mut c_void, *const i8, u32)>§opaque: *mut c_voidTrait Implementations§
Source§impl Clone for RISCVOptions
impl Clone for RISCVOptions
Source§fn clone(&self) -> RISCVOptions
fn clone(&self) -> RISCVOptions
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 moreSource§impl Debug for RISCVOptions
impl Debug for RISCVOptions
impl Copy for RISCVOptions
Auto Trait Implementations§
impl Freeze for RISCVOptions
impl RefUnwindSafe for RISCVOptions
impl !Send for RISCVOptions
impl !Sync for RISCVOptions
impl Unpin for RISCVOptions
impl UnwindSafe for RISCVOptions
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