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