#[repr(C)]pub struct WasmMemoryImport {
pub module: *mut c_char,
pub name: *mut c_char,
pub min: U32,
pub max: U32,
pub shared: bool,
}Fields§
§module: *mut c_char§name: *mut c_char§min: U32§max: U32Implementations§
Source§impl WasmMemoryImport
impl WasmMemoryImport
Sourcepub fn builder() -> WasmMemoryImportBuilder<((), (), (), (), ())>
pub fn builder() -> WasmMemoryImportBuilder<((), (), (), (), ())>
Create a builder for building WasmMemoryImport.
On the builder, call .module(...), .name(...), .min(...), .max(...), .shared(...) to set the values of the fields.
Finally, call .build() to create the instance of WasmMemoryImport.
Trait Implementations§
Source§impl Clone for WasmMemoryImport
impl Clone for WasmMemoryImport
Source§fn clone(&self) -> WasmMemoryImport
fn clone(&self) -> WasmMemoryImport
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl ConstDefault for WasmMemoryImport
impl ConstDefault for WasmMemoryImport
Source§impl Debug for WasmMemoryImport
impl Debug for WasmMemoryImport
Source§impl Hash for WasmMemoryImport
impl Hash for WasmMemoryImport
impl Copy for WasmMemoryImport
Auto Trait Implementations§
impl Freeze for WasmMemoryImport
impl RefUnwindSafe for WasmMemoryImport
impl !Send for WasmMemoryImport
impl !Sync for WasmMemoryImport
impl Unpin for WasmMemoryImport
impl UnsafeUnpin for WasmMemoryImport
impl UnwindSafe for WasmMemoryImport
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