#[repr(C)]pub struct WasmEdge_Limit {
pub HasMax: bool,
pub Shared: bool,
pub Min: u32,
pub Max: u32,
}
Expand description
Struct of WASM limit.
Fields§
§HasMax: bool
Boolean to describe has max value or not.
Boolean to describe is shared memory or not.
Min: u32
Minimum value.
Max: u32
Maximum value. Will be ignored if the HasMax
is false.
Trait Implementations§
Source§impl Clone for WasmEdge_Limit
impl Clone for WasmEdge_Limit
Source§fn clone(&self) -> WasmEdge_Limit
fn clone(&self) -> WasmEdge_Limit
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 WasmEdge_Limit
impl Debug for WasmEdge_Limit
impl Copy for WasmEdge_Limit
Auto Trait Implementations§
impl Freeze for WasmEdge_Limit
impl RefUnwindSafe for WasmEdge_Limit
impl Send for WasmEdge_Limit
impl Sync for WasmEdge_Limit
impl Unpin for WasmEdge_Limit
impl UnwindSafe for WasmEdge_Limit
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