#[repr(C)]pub struct Tuple4<T0, T1, T2, T3>(pub T0, pub T1, pub T2, pub T3);Expand description
An ABI stable tuple of 4 elements.
Tuple Fields§
§0: T0§1: T1§2: T2§3: T3Implementations§
Trait Implementations§
Source§impl<T0, T1, T2, T3> From<(T0, T1, T2, T3)> for Tuple4<T0, T1, T2, T3>
impl<T0, T1, T2, T3> From<(T0, T1, T2, T3)> for Tuple4<T0, T1, T2, T3>
Source§fn from(value: (T0, T1, T2, T3)) -> Self
fn from(value: (T0, T1, T2, T3)) -> Self
Converts to this type from the input type.
Source§impl<T0, T1, T2, T3> From<Tuple4<T0, T1, T2, T3>> for (T0, T1, T2, T3)
impl<T0, T1, T2, T3> From<Tuple4<T0, T1, T2, T3>> for (T0, T1, T2, T3)
Source§impl<T0, T1, T2, T3> IStable for Tuple4<T0, T1, T2, T3>
impl<T0, T1, T2, T3> IStable for Tuple4<T0, T1, T2, T3>
Source§const REPORT: &'static TypeReport
const REPORT: &'static TypeReport
A compile-time generated report of the fields of the type, allowing for compatibility inspection.
Source§const ID: u64
const ID: u64
A stable (and ideally unique) identifier for the type. Often generated using
crate::report::gen_id, but can be manually set.Source§type ForbiddenValues = <Struct<FieldPair<FieldPair<FieldPair<T0, T1>, T2>, T3>> as IStable>::ForbiddenValues
type ForbiddenValues = <Struct<FieldPair<FieldPair<FieldPair<T0, T1>, T2>, T3>> as IStable>::ForbiddenValues
The values that the annotated type cannot occupy.
Source§type UnusedBits = <Struct<FieldPair<FieldPair<FieldPair<T0, T1>, T2>, T3>> as IStable>::UnusedBits
type UnusedBits = <Struct<FieldPair<FieldPair<FieldPair<T0, T1>, T2>, T3>> as IStable>::UnusedBits
The padding bits in the annotated types
Source§type Size = <Struct<FieldPair<FieldPair<FieldPair<T0, T1>, T2>, T3>> as IStable>::Size
type Size = <Struct<FieldPair<FieldPair<FieldPair<T0, T1>, T2>, T3>> as IStable>::Size
The size of the annotated type in bytes.
Source§type Align = <Struct<FieldPair<FieldPair<FieldPair<T0, T1>, T2>, T3>> as IStable>::Align
type Align = <Struct<FieldPair<FieldPair<FieldPair<T0, T1>, T2>, T3>> as IStable>::Align
The alignment of the annotated type in bytes.
Source§type HasExactlyOneNiche = <Struct<FieldPair<FieldPair<FieldPair<T0, T1>, T2>, T3>> as IStable>::HasExactlyOneNiche
type HasExactlyOneNiche = <Struct<FieldPair<FieldPair<FieldPair<T0, T1>, T2>, T3>> as IStable>::HasExactlyOneNiche
Allows the detection of whether or not
core::option::Options are stable: Read moreSource§type ContainsIndirections = <Struct<FieldPair<FieldPair<FieldPair<T0, T1>, T2>, T3>> as IStable>::ContainsIndirections
type ContainsIndirections = <Struct<FieldPair<FieldPair<FieldPair<T0, T1>, T2>, T3>> as IStable>::ContainsIndirections
Whether or not the type contains indirections (pointers, indices in independent data-structures…)
Source§impl<T0: Ord, T1: Ord, T2: Ord, T3: Ord> Ord for Tuple4<T0, T1, T2, T3>
impl<T0: Ord, T1: Ord, T2: Ord, T3: Ord> Ord for Tuple4<T0, T1, T2, T3>
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, T1: PartialEq, T2: PartialEq, T3: PartialEq> PartialEq for Tuple4<T0, T1, T2, T3>
impl<T0: PartialEq, T1: PartialEq, T2: PartialEq, T3: PartialEq> PartialEq for Tuple4<T0, T1, T2, T3>
Source§impl<T0: PartialOrd, T1: PartialOrd, T2: PartialOrd, T3: PartialOrd> PartialOrd for Tuple4<T0, T1, T2, T3>
impl<T0: PartialOrd, T1: PartialOrd, T2: PartialOrd, T3: PartialOrd> PartialOrd for Tuple4<T0, T1, T2, T3>
impl<T0: Copy, T1: Copy, T2: Copy, T3: Copy> Copy for Tuple4<T0, T1, T2, T3>
impl<T0: Eq, T1: Eq, T2: Eq, T3: Eq> Eq for Tuple4<T0, T1, T2, T3>
impl<T0, T1, T2, T3> StructuralPartialEq for Tuple4<T0, T1, T2, T3>
Auto Trait Implementations§
impl<T0, T1, T2, T3> Freeze for Tuple4<T0, T1, T2, T3>
impl<T0, T1, T2, T3> RefUnwindSafe for Tuple4<T0, T1, T2, T3>
impl<T0, T1, T2, T3> Send for Tuple4<T0, T1, T2, T3>
impl<T0, T1, T2, T3> Sync for Tuple4<T0, T1, T2, T3>
impl<T0, T1, T2, T3> Unpin for Tuple4<T0, T1, T2, T3>
impl<T0, T1, T2, T3> UnwindSafe for Tuple4<T0, T1, T2, T3>
Blanket Implementations§
Source§impl<Source> AccessAs for Source
impl<Source> AccessAs for Source
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IPod for T
impl<T> IPod for T
Source§fn identifier() -> u64
fn identifier() -> u64
Produces an identifier for the type, allowing to check type at runtime (barring collisions).