Skip to main content

TupleIndex8

Struct TupleIndex8 

Source
pub struct TupleIndex8;
Expand description

A type level marker to be used as index into tuples

Trait Implementations§

Source§

impl Clone for TupleIndex8

Source§

fn clone(&self) -> TupleIndex8

Returns a duplicate 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 Debug for TupleIndex8

Source§

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

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

impl Default for TupleIndex8

Source§

fn default() -> TupleIndex8

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

impl IsPrimaryKeyIndex for TupleIndex8

Source§

fn is_index(v: usize) -> bool

Check if this type represents the index with the given value
Source§

impl<'a, A: 'static, B: 'static, C: 'static, D: 'static, E: 'static, F: 'static, G: 'static, H: 'static, I> TupleIndex<TupleIndex8> for (A, B, C, D, E, F, G, H, I)
where I: Clone + 'static,

Source§

type Value = I

The type of the indexed tuple value
Source§

fn get(&self) -> Self::Value

Get the actual value at the given index
Source§

impl<'a, A: 'static, B: 'static, C: 'static, D: 'static, E: 'static, F: 'static, G: 'static, H: 'static, I, J: 'static> TupleIndex<TupleIndex8> for (A, B, C, D, E, F, G, H, I, J)
where I: Clone + 'static,

Source§

type Value = I

The type of the indexed tuple value
Source§

fn get(&self) -> Self::Value

Get the actual value at the given index
Source§

impl<'a, A: 'static, B: 'static, C: 'static, D: 'static, E: 'static, F: 'static, G: 'static, H: 'static, I, J: 'static, K: 'static> TupleIndex<TupleIndex8> for (A, B, C, D, E, F, G, H, I, J, K)
where I: Clone + 'static,

Source§

type Value = I

The type of the indexed tuple value
Source§

fn get(&self) -> Self::Value

Get the actual value at the given index
Source§

impl<'a, A: 'static, B: 'static, C: 'static, D: 'static, E: 'static, F: 'static, G: 'static, H: 'static, I, J: 'static, K: 'static, L: 'static> TupleIndex<TupleIndex8> for (A, B, C, D, E, F, G, H, I, J, K, L)
where I: Clone + 'static,

Source§

type Value = I

The type of the indexed tuple value
Source§

fn get(&self) -> Self::Value

Get the actual value at the given index
Source§

impl<'a, A: 'static, B: 'static, C: 'static, D: 'static, E: 'static, F: 'static, G: 'static, H: 'static, I, J: 'static, K: 'static, L: 'static, M: 'static> TupleIndex<TupleIndex8> for (A, B, C, D, E, F, G, H, I, J, K, L, M)
where I: Clone + 'static,

Source§

type Value = I

The type of the indexed tuple value
Source§

fn get(&self) -> Self::Value

Get the actual value at the given index
Source§

impl<'a, A: 'static, B: 'static, C: 'static, D: 'static, E: 'static, F: 'static, G: 'static, H: 'static, I, J: 'static, K: 'static, L: 'static, M: 'static, N: 'static> TupleIndex<TupleIndex8> for (A, B, C, D, E, F, G, H, I, J, K, L, M, N)
where I: Clone + 'static,

Source§

type Value = I

The type of the indexed tuple value
Source§

fn get(&self) -> Self::Value

Get the actual value at the given index
Source§

impl<'a, A: 'static, B: 'static, C: 'static, D: 'static, E: 'static, F: 'static, G: 'static, H: 'static, I, J: 'static, K: 'static, L: 'static, M: 'static, N: 'static, O: 'static> TupleIndex<TupleIndex8> for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O)
where I: Clone + 'static,

Source§

type Value = I

The type of the indexed tuple value
Source§

fn get(&self) -> Self::Value

Get the actual value at the given index
Source§

impl<'a, A: 'static, B: 'static, C: 'static, D: 'static, E: 'static, F: 'static, G: 'static, H: 'static, I, J: 'static, K: 'static, L: 'static, M: 'static, N: 'static, O: 'static, P: 'static> TupleIndex<TupleIndex8> for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P)
where I: Clone + 'static,

Source§

type Value = I

The type of the indexed tuple value
Source§

fn get(&self) -> Self::Value

Get the actual value at the given index
Source§

impl Copy for TupleIndex8

Auto Trait Implementations§

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<T> IntoSql for T

Source§

fn into_sql<T>(self) -> Self::Expression
where Self: Sized + AsExpression<T>,

Convert self to an expression for Diesel’s query builder. Read more
Source§

fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression
where &'a Self: AsExpression<T>,

Convert &self to an expression for Diesel’s query builder. 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.