pub struct WasmMemoryType {
pub min: u32,
pub max: Option<u32>,
}Expand description
WASM 内存类型
Fields§
§min: u32最小页数
max: Option<u32>最大页数(可选)
Trait Implementations§
Source§impl Clone for WasmMemoryType
impl Clone for WasmMemoryType
Source§fn clone(&self) -> WasmMemoryType
fn clone(&self) -> WasmMemoryType
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 WasmMemoryType
impl Debug for WasmMemoryType
impl Copy for WasmMemoryType
Auto Trait Implementations§
impl Freeze for WasmMemoryType
impl RefUnwindSafe for WasmMemoryType
impl Send for WasmMemoryType
impl Sync for WasmMemoryType
impl Unpin for WasmMemoryType
impl UnsafeUnpin for WasmMemoryType
impl UnwindSafe for WasmMemoryType
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