Struct wasmer_vm::StoreObjects
source · pub struct StoreObjects { /* private fields */ }
Expand description
Set of objects managed by a context.
Implementations§
source§impl StoreObjects
impl StoreObjects
sourcepub fn get_2_mut<T: StoreObject>(
&mut self,
a: InternalStoreHandle<T>,
b: InternalStoreHandle<T>
) -> (&mut T, &mut T)
pub fn get_2_mut<T: StoreObject>(
&mut self,
a: InternalStoreHandle<T>,
b: InternalStoreHandle<T>
) -> (&mut T, &mut T)
Returns a pair of mutable references from two handles.
Panics if both handles point to the same object.
Trait Implementations§
source§impl Default for StoreObjects
impl Default for StoreObjects
source§fn default() -> StoreObjects
fn default() -> StoreObjects
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !RefUnwindSafe for StoreObjects
impl !Send for StoreObjects
impl !Sync for StoreObjects
impl Unpin for StoreObjects
impl !UnwindSafe for StoreObjects
Blanket Implementations§
§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
§impl<F, W, T, D> Deserialize<With<T, W>, D> for Fwhere
W: DeserializeWith<F, T, D>,
D: Fallible + ?Sized,
F: ?Sized,
impl<F, W, T, D> Deserialize<With<T, W>, D> for Fwhere
W: DeserializeWith<F, T, D>,
D: Fallible + ?Sized,
F: ?Sized,
§fn deserialize(
&self,
deserializer: &mut D
) -> Result<With<T, W>, <D as Fallible>::Error>
fn deserialize(
&self,
deserializer: &mut D
) -> Result<With<T, W>, <D as Fallible>::Error>
Deserializes using the given deserializer