Struct rkyv::tuple::ArchivedTuple1
source · #[repr(C)]pub struct ArchivedTuple1<T0>(pub T0);
Expand description
An archived tuple with 1 elements
Tuple Fields§
§0: T0
Trait Implementations§
source§impl<T0, __C: Fallible + ?Sized> CheckBytes<__C> for ArchivedTuple1<T0>
impl<T0, __C: Fallible + ?Sized> CheckBytes<__C> for ArchivedTuple1<T0>
source§impl<T0: Debug> Debug for ArchivedTuple1<T0>
impl<T0: Debug> Debug for ArchivedTuple1<T0>
source§impl<T0: Default> Default for ArchivedTuple1<T0>
impl<T0: Default> Default for ArchivedTuple1<T0>
source§fn default() -> ArchivedTuple1<T0>
fn default() -> ArchivedTuple1<T0>
Returns the “default value” for a type. Read more
source§impl<T0, D> Deserialize<(T0,), D> for ArchivedTuple1<T0::Archived>
impl<T0, D> Deserialize<(T0,), D> for ArchivedTuple1<T0::Archived>
source§impl<T0: Hash> Hash for ArchivedTuple1<T0>
impl<T0: Hash> Hash for ArchivedTuple1<T0>
source§impl<T0: Ord> Ord for ArchivedTuple1<T0>
impl<T0: Ord> Ord for ArchivedTuple1<T0>
source§fn cmp(&self, other: &ArchivedTuple1<T0>) -> Ordering
fn cmp(&self, other: &ArchivedTuple1<T0>) -> 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<T0: PartialEq> PartialEq for ArchivedTuple1<T0>
impl<T0: PartialEq> PartialEq for ArchivedTuple1<T0>
source§impl<T0: PartialOrd> PartialOrd for ArchivedTuple1<T0>
impl<T0: PartialOrd> PartialOrd for ArchivedTuple1<T0>
impl<T0: Eq> Eq for ArchivedTuple1<T0>
impl<T0> Portable for ArchivedTuple1<T0>where
T0: Portable,
impl<T0> StructuralPartialEq for ArchivedTuple1<T0>
Auto Trait Implementations§
impl<T0> Freeze for ArchivedTuple1<T0>where
T0: Freeze,
impl<T0> RefUnwindSafe for ArchivedTuple1<T0>where
T0: RefUnwindSafe,
impl<T0> Send for ArchivedTuple1<T0>where
T0: Send,
impl<T0> Sync for ArchivedTuple1<T0>where
T0: Sync,
impl<T0> Unpin for ArchivedTuple1<T0>where
T0: Unpin,
impl<T0> UnwindSafe for ArchivedTuple1<T0>where
T0: UnwindSafe,
Blanket Implementations§
source§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
source§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
source§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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<T> LayoutRaw for T
impl<T> LayoutRaw for T
source§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.