#[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
The archived counterpart of Features::threads
reference_types: <bool as Archive>::Archived
The archived counterpart of Features::reference_types
simd: <bool as Archive>::Archived
The archived counterpart of Features::simd
bulk_memory: <bool as Archive>::Archived
The archived counterpart of Features::bulk_memory
multi_value: <bool as Archive>::Archived
The archived counterpart of Features::multi_value
tail_call: <bool as Archive>::Archived
The archived counterpart of Features::tail_call
module_linking: <bool as Archive>::Archived
The archived counterpart of Features::module_linking
multi_memory: <bool as Archive>::Archived
The archived counterpart of Features::multi_memory
memory64: <bool as Archive>::Archived
The archived counterpart of Features::memory64
exceptions: <bool as Archive>::Archived
The archived counterpart of Features::exceptions
relaxed_simd: <bool as Archive>::Archived
The archived counterpart of Features::relaxed_simd
extended_const: <bool as Archive>::Archived
The archived counterpart of Features::extended_const
Trait Implementations§
Source§impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedFeatures
impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedFeatures
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§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.