Struct wasmedge_sys::ffi::WasmEdge_Limit
source · #[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 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