Skip to main content

T3

Struct T3 

Source
pub struct T3<A, B, C>(pub A, pub B, pub C);
Expand description

3-ary tuple wrapper

Tuple Fields§

§0: A§1: B§2: C

Trait Implementations§

Source§

impl<A: Clone, B: Clone, C: Clone> Clone for T3<A, B, C>

Source§

fn clone(&self) -> T3<A, B, C>

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl<A: Debug, B: Debug, C: Debug> Debug for T3<A, B, C>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<A: Eq, B: Eq, C: Eq> Eq for T3<A, B, C>

Source§

impl<A0, A1, B0, B1, C0, C1> From<(A0, B0, C0)> for T3<A1, B1, C1>
where A1: From<A0>, B1: From<B0>, C1: From<C0>,

Source§

fn from((a, b, c): (A0, B0, C0)) -> Self

Converts to this type from the input type.
Source§

impl<A0, A1, B0, B1, C0, C1> From<T3<A0, B0, C0>> for (A1, B1, C1)
where A1: From<A0>, B1: From<B0>, C1: From<C0>,

Source§

fn from(T3: T3<A0, B0, C0>) -> Self

Converts to this type from the input type.
Source§

impl<TY, A, B, C, const AN: usize, const BN: usize, const CN: usize> From<T3<[TY; AN], [TY; BN], [TY; CN]>> for Le<(A, B, C)>
where Le<A>: From<[TY; AN]>, Le<B>: From<[TY; BN]>, Le<C>: From<[TY; CN]>,

Source§

fn from(data: T3<[TY; AN], [TY; BN], [TY; CN]>) -> Self

Converts to this type from the input type.
Source§

impl<TY, A, B, C, const AN: usize, const BN: usize, const CN: usize> From<T3<[TY; AN], [TY; BN], [TY; CN]>> for Be<(A, B, C)>
where Be<A>: From<[TY; AN]>, Be<B>: From<[TY; BN]>, Be<C>: From<[TY; CN]>,

Source§

fn from(data: T3<[TY; AN], [TY; BN], [TY; CN]>) -> Self

Converts to this type from the input type.
Source§

impl<T, const N: usize, const AN: usize, const BN: usize, const CN: usize> From<[T; N]> for T3<[T; AN], [T; BN], [T; CN]>
where T: Default + Copy,

Source§

fn from(data: [T; N]) -> Self

Converts to this type from the input type.
Source§

impl<A: PartialEq, B: PartialEq, C: PartialEq> PartialEq for T3<A, B, C>

Source§

fn eq(&self, other: &T3<A, B, C>) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl<A: PartialEq, B: PartialEq, C: PartialEq> StructuralPartialEq for T3<A, B, C>

Auto Trait Implementations§

§

impl<A, B, C> Freeze for T3<A, B, C>
where A: Freeze, B: Freeze, C: Freeze,

§

impl<A, B, C> RefUnwindSafe for T3<A, B, C>

§

impl<A, B, C> Send for T3<A, B, C>
where A: Send, B: Send, C: Send,

§

impl<A, B, C> Sync for T3<A, B, C>
where A: Sync, B: Sync, C: Sync,

§

impl<A, B, C> Unpin for T3<A, B, C>
where A: Unpin, B: Unpin, C: Unpin,

§

impl<A, B, C> UnsafeUnpin for T3<A, B, C>

§

impl<A, B, C> UnwindSafe for T3<A, B, C>
where A: UnwindSafe, B: UnwindSafe, C: UnwindSafe,

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> AsPrimitive<()> for T

Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> LsbInto<U> for T
where U: FromLsb<T>,

Source§

fn lsb_into(self) -> U

Source§

impl<T, U> MsbInto<U> for T
where U: FromMsb<T>,

Source§

fn msb_into(self) -> U

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.