#[repr(u8)]pub enum ArchivedExternTypewhere
FunctionType: Archive,
GlobalType: Archive,
TableType: Archive,
MemoryType: Archive,
TagType: Archive,{
Function(<FunctionType as Archive>::Archived),
Global(<GlobalType as Archive>::Archived),
Table(<TableType as Archive>::Archived),
Memory(<MemoryType as Archive>::Archived),
Tag(<TagType as Archive>::Archived),
}Expand description
An archived ExternType
Variants§
Function(<FunctionType as Archive>::Archived)
The archived counterpart of ExternType::Function
Tuple Fields
§
0: <FunctionType as Archive>::ArchivedThe archived counterpart of ExternType::Function::0
Global(<GlobalType as Archive>::Archived)
The archived counterpart of ExternType::Global
Tuple Fields
§
0: <GlobalType as Archive>::ArchivedThe archived counterpart of ExternType::Global::0
Table(<TableType as Archive>::Archived)
The archived counterpart of ExternType::Table
Tuple Fields
§
0: <TableType as Archive>::ArchivedThe archived counterpart of ExternType::Table::0
Memory(<MemoryType as Archive>::Archived)
The archived counterpart of ExternType::Memory
Tuple Fields
§
0: <MemoryType as Archive>::ArchivedThe archived counterpart of ExternType::Memory::0
Tag(<TagType as Archive>::Archived)
The archived counterpart of ExternType::Tag
Tuple Fields
§
0: <TagType as Archive>::ArchivedThe archived counterpart of ExternType::Tag::0
Trait Implementations§
Source§impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedExternTypewhere
FunctionType: Archive,
GlobalType: Archive,
TableType: Archive,
MemoryType: Archive,
TagType: Archive,
<__C as Fallible>::Error: Source,
<FunctionType as Archive>::Archived: CheckBytes<__C>,
<GlobalType as Archive>::Archived: CheckBytes<__C>,
<TableType as Archive>::Archived: CheckBytes<__C>,
<MemoryType as Archive>::Archived: CheckBytes<__C>,
<TagType as Archive>::Archived: CheckBytes<__C>,
impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedExternTypewhere
FunctionType: Archive,
GlobalType: Archive,
TableType: Archive,
MemoryType: Archive,
TagType: Archive,
<__C as Fallible>::Error: Source,
<FunctionType as Archive>::Archived: CheckBytes<__C>,
<GlobalType as Archive>::Archived: CheckBytes<__C>,
<TableType as Archive>::Archived: CheckBytes<__C>,
<MemoryType as Archive>::Archived: CheckBytes<__C>,
<TagType as Archive>::Archived: CheckBytes<__C>,
Source§impl Debug for ArchivedExternTypewhere
FunctionType: Archive,
GlobalType: Archive,
TableType: Archive,
MemoryType: Archive,
TagType: Archive,
impl Debug for ArchivedExternTypewhere
FunctionType: Archive,
GlobalType: Archive,
TableType: Archive,
MemoryType: Archive,
TagType: Archive,
impl Portable for ArchivedExternTypewhere
FunctionType: Archive,
GlobalType: Archive,
TableType: Archive,
MemoryType: Archive,
TagType: Archive,
<FunctionType as Archive>::Archived: Portable,
<GlobalType as Archive>::Archived: Portable,
<TableType as Archive>::Archived: Portable,
<MemoryType as Archive>::Archived: Portable,
<TagType as Archive>::Archived: Portable,
Auto Trait Implementations§
impl Freeze for ArchivedExternType
impl RefUnwindSafe for ArchivedExternType
impl Send for ArchivedExternType
impl Sync for ArchivedExternType
impl !Unpin for ArchivedExternType
impl UnwindSafe for ArchivedExternType
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. 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.