pub struct ExternAddr(pub usize);Expand description
The WebAssembly specification defines an externaddr as an address to an
“external” type, i.e. is a type which is managed by the embedder. For this
interpreter the task of managing external objects and relating them to
addresses is handed off to the user, which means that an ExternAddr can
simply be seen as an integer that is opaque to Wasm code without any meaning
assigned to it.
See: WebAssembly Specification 2.0 - 2.3.3, 4.2.1
Tuple Fields§
§0: usizeTrait Implementations§
Source§impl Clone for ExternAddr
impl Clone for ExternAddr
Source§fn clone(&self) -> ExternAddr
fn clone(&self) -> ExternAddr
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 moreSource§impl Debug for ExternAddr
impl Debug for ExternAddr
Source§impl PartialEq for ExternAddr
impl PartialEq for ExternAddr
impl Copy for ExternAddr
impl Eq for ExternAddr
impl StructuralPartialEq for ExternAddr
Auto Trait Implementations§
impl Freeze for ExternAddr
impl RefUnwindSafe for ExternAddr
impl Send for ExternAddr
impl Sync for ExternAddr
impl Unpin for ExternAddr
impl UnwindSafe for ExternAddr
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