#[repr(C)]pub struct ArchivedElemIndex(<u32 as Archive>::Archived)
where
u32: Archive;Expand description
An archived ElemIndex
Tuple Fields§
§0: <u32 as Archive>::ArchivedThe archived counterpart of ElemIndex::0
Trait Implementations§
Source§impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedElemIndex
impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedElemIndex
Source§impl Debug for ArchivedElemIndexwhere
u32: Archive,
impl Debug for ArchivedElemIndexwhere
u32: Archive,
Source§impl Ord for ArchivedElemIndexwhere
u32: Archive,
impl Ord for ArchivedElemIndexwhere
u32: Archive,
Source§fn cmp(&self, other: &ArchivedElemIndex) -> Ordering
fn cmp(&self, other: &ArchivedElemIndex) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq<ArchivedElemIndex> for ElemIndex
impl PartialEq<ArchivedElemIndex> for ElemIndex
Source§impl PartialEq<ElemIndex> for ArchivedElemIndex
impl PartialEq<ElemIndex> for ArchivedElemIndex
Source§impl PartialEq for ArchivedElemIndexwhere
u32: Archive,
impl PartialEq for ArchivedElemIndexwhere
u32: Archive,
Source§impl PartialOrd<ArchivedElemIndex> for ElemIndex
impl PartialOrd<ArchivedElemIndex> for ElemIndex
Source§impl PartialOrd<ElemIndex> for ArchivedElemIndex
impl PartialOrd<ElemIndex> for ArchivedElemIndex
Source§impl PartialOrd for ArchivedElemIndexwhere
u32: Archive,
impl PartialOrd for ArchivedElemIndexwhere
u32: Archive,
impl Eq for ArchivedElemIndexwhere
u32: Archive,
impl Portable for ArchivedElemIndex
impl StructuralPartialEq for ArchivedElemIndexwhere
u32: Archive,
Auto Trait Implementations§
impl Freeze for ArchivedElemIndex
impl RefUnwindSafe for ArchivedElemIndex
impl Send for ArchivedElemIndex
impl Sync for ArchivedElemIndex
impl Unpin for ArchivedElemIndex
impl UnsafeUnpin for ArchivedElemIndex
impl UnwindSafe for ArchivedElemIndex
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<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.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.