Struct wasmer_types::features::ArchivedFeatures
source · #[repr(C)]pub struct ArchivedFeatureswhere
bool: Archive,{
pub threads: <bool as Archive>::Archived,
pub reference_types: <bool as Archive>::Archived,
pub simd: <bool as Archive>::Archived,
pub bulk_memory: <bool as Archive>::Archived,
pub multi_value: <bool as Archive>::Archived,
pub tail_call: <bool as Archive>::Archived,
pub module_linking: <bool as Archive>::Archived,
pub multi_memory: <bool as Archive>::Archived,
pub memory64: <bool as Archive>::Archived,
pub exceptions: <bool as Archive>::Archived,
pub relaxed_simd: <bool as Archive>::Archived,
pub extended_const: <bool as Archive>::Archived,
}
Expand description
An archived Features
Fields§
§threads: <bool as Archive>::Archived
§reference_types: <bool as Archive>::Archived
§simd: <bool as Archive>::Archived
§bulk_memory: <bool as Archive>::Archived
§multi_value: <bool as Archive>::Archived
§tail_call: <bool as Archive>::Archived
§module_linking: <bool as Archive>::Archived
§multi_memory: <bool as Archive>::Archived
§memory64: <bool as Archive>::Archived
§exceptions: <bool as Archive>::Archived
§relaxed_simd: <bool as Archive>::Archived
§extended_const: <bool as Archive>::Archived
Trait Implementations§
source§impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedFeatures
impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedFeatures
source§unsafe fn check_bytes(
value: *const Self,
context: &mut __C,
) -> Result<(), <__C as Fallible>::Error>
unsafe fn check_bytes( value: *const Self, context: &mut __C, ) -> Result<(), <__C as Fallible>::Error>
Checks whether the given pointer points to a valid value within the
given context. Read more
source§impl Debug for ArchivedFeatureswhere
bool: Archive,
impl Debug for ArchivedFeatureswhere
bool: Archive,
source§impl PartialEq<ArchivedFeatures> for Features
impl PartialEq<ArchivedFeatures> for Features
source§fn eq(&self, other: &ArchivedFeatures) -> bool
fn eq(&self, other: &ArchivedFeatures) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialEq<Features> for ArchivedFeatures
impl PartialEq<Features> for ArchivedFeatures
impl Portable for ArchivedFeatures
Auto Trait Implementations§
impl Freeze for ArchivedFeatures
impl RefUnwindSafe for ArchivedFeatures
impl Send for ArchivedFeatures
impl Sync for ArchivedFeatures
impl Unpin for ArchivedFeatures
impl UnwindSafe for ArchivedFeatures
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.
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
§impl<T> LayoutRaw for T
impl<T> LayoutRaw for T
§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
Returns the layout of the type.