#[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§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.