#[repr(C)]pub struct CTup3<A, B, C>(pub A, pub B, pub C);
Expand description
FFI-safe 3 element tuple.
Tuple Fields§
§0: A
§1: B
§2: C
Implementations§
Trait Implementations§
source§impl<A: Ord, B: Ord, C: Ord> Ord for CTup3<A, B, C>
impl<A: Ord, B: Ord, C: Ord> Ord for CTup3<A, B, C>
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<A: PartialEq, B: PartialEq, C: PartialEq> PartialEq for CTup3<A, B, C>
impl<A: PartialEq, B: PartialEq, C: PartialEq> PartialEq for CTup3<A, B, C>
source§impl<A: PartialOrd, B: PartialOrd, C: PartialOrd> PartialOrd for CTup3<A, B, C>
impl<A: PartialOrd, B: PartialOrd, C: PartialOrd> PartialOrd for CTup3<A, B, C>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl<A: Copy, B: Copy, C: Copy> Copy for CTup3<A, B, C>
impl<A: Eq, B: Eq, C: Eq> Eq for CTup3<A, B, C>
impl<A, B, C> StructuralEq for CTup3<A, B, C>
impl<A, B, C> StructuralPartialEq for CTup3<A, B, C>
Auto Trait Implementations§
impl<A, B, C> RefUnwindSafe for CTup3<A, B, C>where A: RefUnwindSafe, B: RefUnwindSafe, C: RefUnwindSafe,
impl<A, B, C> Send for CTup3<A, B, C>where A: Send, B: Send, C: Send,
impl<A, B, C> Sync for CTup3<A, B, C>where A: Sync, B: Sync, C: Sync,
impl<A, B, C> Unpin for CTup3<A, B, C>where A: Unpin, B: Unpin, C: Unpin,
impl<A, B, C> UnwindSafe for CTup3<A, B, C>where A: UnwindSafe, B: UnwindSafe, C: UnwindSafe,
Blanket Implementations§
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