pub struct ImportedMemory { /* private fields */ }Expand description
Imported memory metadata.
Implementations§
Source§impl ImportedMemory
impl ImportedMemory
Sourcepub const fn new(module: ImportModuleName, name: ImportName) -> Self
pub const fn new(module: ImportModuleName, name: ImportName) -> Self
Creates imported memory metadata.
Sourcepub const fn module(&self) -> &ImportModuleName
pub const fn module(&self) -> &ImportModuleName
Returns the import module name.
Sourcepub const fn name(&self) -> &ImportName
pub const fn name(&self) -> &ImportName
Returns the import field name.
Trait Implementations§
Source§impl Clone for ImportedMemory
impl Clone for ImportedMemory
Source§fn clone(&self) -> ImportedMemory
fn clone(&self) -> ImportedMemory
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 Debug for ImportedMemory
impl Debug for ImportedMemory
Source§impl Hash for ImportedMemory
impl Hash for ImportedMemory
Source§impl PartialEq for ImportedMemory
impl PartialEq for ImportedMemory
Source§fn eq(&self, other: &ImportedMemory) -> bool
fn eq(&self, other: &ImportedMemory) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for ImportedMemory
impl StructuralPartialEq for ImportedMemory
Auto Trait Implementations§
impl Freeze for ImportedMemory
impl RefUnwindSafe for ImportedMemory
impl Send for ImportedMemory
impl Sync for ImportedMemory
impl Unpin for ImportedMemory
impl UnsafeUnpin for ImportedMemory
impl UnwindSafe for ImportedMemory
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