#[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.
Source§impl<T, N1, N2> Niching<NichedOption<T, N1>> for N2
impl<T, N1, N2> Niching<NichedOption<T, N1>> for N2
Source§unsafe fn is_niched(niched: *const NichedOption<T, N1>) -> bool
unsafe fn is_niched(niched: *const NichedOption<T, N1>) -> bool
Returns whether the given value has been niched. Read more
Source§fn resolve_niched(out: Place<NichedOption<T, N1>>)
fn resolve_niched(out: Place<NichedOption<T, N1>>)
Writes data to
out
indicating that a T
is niched.