Struct wasmer_types::DataInitializer [−][src]
pub struct DataInitializer<'data> { pub location: DataInitializerLocation, pub data: &'data [u8], }
Expand description
A data initializer for linear memory.
Fields
location: DataInitializerLocation
The location where the initialization is to be performed.
data: &'data [u8]
The initialization data.
Trait Implementations
impl<'data> Debug for DataInitializer<'data>
[src]
impl<'data> Debug for DataInitializer<'data>
[src]impl<'de: 'data, 'data> Deserialize<'de> for DataInitializer<'data>
[src]
impl<'de: 'data, 'data> Deserialize<'de> for DataInitializer<'data>
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
impl<'data> Serialize for DataInitializer<'data>
[src]
impl<'data> Serialize for DataInitializer<'data>
[src]Auto Trait Implementations
impl<'data> RefUnwindSafe for DataInitializer<'data>
impl<'data> Send for DataInitializer<'data>
impl<'data> Sync for DataInitializer<'data>
impl<'data> Unpin for DataInitializer<'data>
impl<'data> UnwindSafe for DataInitializer<'data>
Blanket Implementations
impl<T> ArchivePointee for T
[src]
impl<T> ArchivePointee for T
[src]type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
pub fn pointer_metadata(
&<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
[src]
pub fn pointer_metadata(
&<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
[src]Converts some archived metadata to the pointer metadata for itself.
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,