#[repr(C)]
pub struct Tuple2<T0, T1> { pub _0: T0, pub _1: T1, }
Expand description

Simplified for lighter documentation, but the actual impls range from Tuple1 up to Tuple6.

C Layout

Fields

_0: T0_1: T1

Trait Implementations

Formats the value using the given formatter. Read more

The CType having the same layout as Self.

Sanity checks that can be performed on an instance of the CType layout. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

This is supported on crate feature alloc only.

Returns the argument unchanged.

Calls U::from(self).

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

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

This is supported on crate feature headers only.