Struct Tuple5

Source
pub struct Tuple5<T0, T1, T2, T3, T4>(pub T0, pub T1, pub T2, pub T3, pub T4);
Expand description

5つの集合の直積

Tuple Fields§

§0: T0§1: T1§2: T2§3: T3§4: T4

Trait Implementations§

Source§

impl<T0: BinaryOp, T1: BinaryOp, T2: BinaryOp, T3: BinaryOp, T4: BinaryOp> BinaryOp for Tuple5<T0, T1, T2, T3, T4>

Source§

fn op(self, b: Self) -> Self

二項演算
Source§

fn op_assign_r(&mut self, b: Self)
where Self: Clone,

二項演算$\circ$で(右側から)代入操作($a \leftarrow a \circ b$)をする。
Source§

fn op_assign_l(&mut self, b: Self)
where Self: Clone,

二項演算$\circ$で(左側から)代入操作($a \leftarrow b \circ a$)をする。
Source§

impl<T0: Clone, T1: Clone, T2: Clone, T3: Clone, T4: Clone> Clone for Tuple5<T0, T1, T2, T3, T4>

Source§

fn clone(&self) -> Tuple5<T0, T1, T2, T3, T4>

Returns a copy of the value. Read more
1.0.0 · Source§

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

Performs copy-assignment from source. Read more
Source§

impl<T0: Debug, T1: Debug, T2: Debug, T3: Debug, T4: Debug> Debug for Tuple5<T0, T1, T2, T3, T4>

Source§

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

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

impl<T0: Default, T1: Default, T2: Default, T3: Default, T4: Default> Default for Tuple5<T0, T1, T2, T3, T4>

Source§

fn default() -> Tuple5<T0, T1, T2, T3, T4>

Returns the “default value” for a type. Read more
Source§

impl<T0: Identity, T1: Identity, T2: Identity, T3: Identity, T4: Identity> Identity for Tuple5<T0, T1, T2, T3, T4>

Source§

fn id() -> Self

単位元
Source§

impl<T0: Inverse, T1: Inverse, T2: Inverse, T3: Inverse, T4: Inverse> Inverse for Tuple5<T0, T1, T2, T3, T4>

Source§

fn inv(self) -> Self

逆元
Source§

impl<T0: PartialEq, T1: PartialEq, T2: PartialEq, T3: PartialEq, T4: PartialEq> PartialEq for Tuple5<T0, T1, T2, T3, T4>

Source§

fn eq(&self, other: &Tuple5<T0, T1, T2, T3, T4>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

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

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl<T0: Associative, T1: Associative, T2: Associative, T3: Associative, T4: Associative> Associative for Tuple5<T0, T1, T2, T3, T4>

Source§

impl<T0: Commutative, T1: Commutative, T2: Commutative, T3: Commutative, T4: Commutative> Commutative for Tuple5<T0, T1, T2, T3, T4>

Source§

impl<T0: Copy, T1: Copy, T2: Copy, T3: Copy, T4: Copy> Copy for Tuple5<T0, T1, T2, T3, T4>

Source§

impl<T0: Eq, T1: Eq, T2: Eq, T3: Eq, T4: Eq> Eq for Tuple5<T0, T1, T2, T3, T4>

Source§

impl<T0: Idempotence, T1: Idempotence, T2: Idempotence, T3: Idempotence, T4: Idempotence> Idempotence for Tuple5<T0, T1, T2, T3, T4>

Source§

impl<T0: Set, T1: Set, T2: Set, T3: Set, T4: Set> Set for Tuple5<T0, T1, T2, T3, T4>

Source§

impl<T0, T1, T2, T3, T4> StructuralPartialEq for Tuple5<T0, T1, T2, T3, T4>

Auto Trait Implementations§

§

impl<T0, T1, T2, T3, T4> Freeze for Tuple5<T0, T1, T2, T3, T4>
where T0: Freeze, T1: Freeze, T2: Freeze, T3: Freeze, T4: Freeze,

§

impl<T0, T1, T2, T3, T4> RefUnwindSafe for Tuple5<T0, T1, T2, T3, T4>

§

impl<T0, T1, T2, T3, T4> Send for Tuple5<T0, T1, T2, T3, T4>
where T0: Send, T1: Send, T2: Send, T3: Send, T4: Send,

§

impl<T0, T1, T2, T3, T4> Sync for Tuple5<T0, T1, T2, T3, T4>
where T0: Sync, T1: Sync, T2: Sync, T3: Sync, T4: Sync,

§

impl<T0, T1, T2, T3, T4> Unpin for Tuple5<T0, T1, T2, T3, T4>
where T0: Unpin, T1: Unpin, T2: Unpin, T3: Unpin, T4: Unpin,

§

impl<T0, T1, T2, T3, T4> UnwindSafe for Tuple5<T0, T1, T2, T3, T4>
where T0: UnwindSafe, T1: UnwindSafe, T2: UnwindSafe, T3: UnwindSafe, T4: 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> 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<A> Times for A
where A: BinaryOp + Identity + Clone,

Source§

fn times(self, n: u64) -> Self

$\underbrace{a \circ a \circ \dots \circ a \circ a}_{n}$を計算する。 Read more
Source§

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

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

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

Source§

type Error = Infallible

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.
Source§

impl<T> AbelianGroup for T
where T: Group + Commutative,

Source§

impl<T> AbelianMonoid for T
where T: Monoid + Commutative,

Source§

impl<T> Group for T
where T: Monoid + Inverse,

Source§

impl<T> Monoid for T
where T: Semigroup + Identity,

Source§

impl<T> Semigroup for T
where T: BinaryOp + Associative,