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 more