pub enum StoredExternVal {
Func(Stored<FuncAddr>),
Table(Stored<TableAddr>),
Mem(Stored<MemAddr>),
Global(Stored<GlobalAddr>),
}Expand description
A stored variant of ExternVal
Variants§
Implementations§
Trait Implementations§
Source§impl AbstractStored for StoredExternVal
impl AbstractStored for StoredExternVal
type BareTy = ExternVal
Source§unsafe fn from_bare(bare_value: Self::BareTy, id: StoreId) -> Self
unsafe fn from_bare(bare_value: Self::BareTy, id: StoreId) -> Self
Creates a new stored object Read more
Source§fn into_bare(self) -> Self::BareTy
fn into_bare(self) -> Self::BareTy
Converts this stored object into its bare form that does not have any
StoreId attached to it.Source§fn try_unwrap_into_bare(
self,
expected_store_id: StoreId,
) -> Result<Self::BareTy, RuntimeError>
fn try_unwrap_into_bare( self, expected_store_id: StoreId, ) -> Result<Self::BareTy, RuntimeError>
Source§impl Clone for StoredExternVal
impl Clone for StoredExternVal
Source§fn clone(&self) -> StoredExternVal
fn clone(&self) -> StoredExternVal
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 StoredExternVal
impl Debug for StoredExternVal
Source§impl PartialEq for StoredExternVal
impl PartialEq for StoredExternVal
impl Copy for StoredExternVal
impl Eq for StoredExternVal
impl StructuralPartialEq for StoredExternVal
Auto Trait Implementations§
impl Freeze for StoredExternVal
impl RefUnwindSafe for StoredExternVal
impl Send for StoredExternVal
impl Sync for StoredExternVal
impl Unpin for StoredExternVal
impl UnwindSafe for StoredExternVal
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