pub struct TupleView<T, V> { /* private fields */ }

Trait Implementations§

source§

impl<T: Clone, V: Clone> Clone for TupleView<T, V>

source§

fn clone(&self) -> TupleView<T, V>

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<T: Debug, V: Debug> Debug for TupleView<T, V>

source§

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

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

impl IntoIterator for TupleView<(), ()>

§

type Item = ()

The type of the elements being iterated over.
§

type IntoIter = RowViewIter<(), TupleView<(), ()>>

Which kind of iterator are we turning this into?
source§

fn into_iter(self) -> Self::IntoIter

Creates an iterator from a value. Read more
source§

impl<T1> IntoIterator for TupleView<(T1,), (T1::View,)>where T1: RowFormat,

§

type Item = (T1,)

The type of the elements being iterated over.
§

type IntoIter = RowViewIter<(T1,), TupleView<(T1,), (<T1 as RowFormat>::View,)>>

Which kind of iterator are we turning this into?
source§

fn into_iter(self) -> Self::IntoIter

Creates an iterator from a value. Read more
source§

impl<T1, T2> IntoIterator for TupleView<(T1, T2), (T1::View, T2::View)>where T1: RowFormat, T2: RowFormat,

§

type Item = (T1, T2)

The type of the elements being iterated over.
§

type IntoIter = RowViewIter<(T1, T2), TupleView<(T1, T2), (<T1 as RowFormat>::View, <T2 as RowFormat>::View)>>

Which kind of iterator are we turning this into?
source§

fn into_iter(self) -> Self::IntoIter

Creates an iterator from a value. Read more
source§

impl<T1, T2, T3> IntoIterator for TupleView<(T1, T2, T3), (T1::View, T2::View, T3::View)>where T1: RowFormat, T2: RowFormat, T3: RowFormat,

§

type Item = (T1, T2, T3)

The type of the elements being iterated over.
§

type IntoIter = RowViewIter<(T1, T2, T3), TupleView<(T1, T2, T3), (<T1 as RowFormat>::View, <T2 as RowFormat>::View, <T3 as RowFormat>::View)>>

Which kind of iterator are we turning this into?
source§

fn into_iter(self) -> Self::IntoIter

Creates an iterator from a value. Read more
source§

impl<T1, T2, T3, T4> IntoIterator for TupleView<(T1, T2, T3, T4), (T1::View, T2::View, T3::View, T4::View)>where T1: RowFormat, T2: RowFormat, T3: RowFormat, T4: RowFormat,

§

type Item = (T1, T2, T3, T4)

The type of the elements being iterated over.
§

type IntoIter = RowViewIter<(T1, T2, T3, T4), TupleView<(T1, T2, T3, T4), (<T1 as RowFormat>::View, <T2 as RowFormat>::View, <T3 as RowFormat>::View, <T4 as RowFormat>::View)>>

Which kind of iterator are we turning this into?
source§

fn into_iter(self) -> Self::IntoIter

Creates an iterator from a value. Read more
source§

impl<T1, T2, T3, T4, T5> IntoIterator for TupleView<(T1, T2, T3, T4, T5), (T1::View, T2::View, T3::View, T4::View, T5::View)>where T1: RowFormat, T2: RowFormat, T3: RowFormat, T4: RowFormat, T5: RowFormat,

§

type Item = (T1, T2, T3, T4, T5)

The type of the elements being iterated over.
§

type IntoIter = RowViewIter<(T1, T2, T3, T4, T5), TupleView<(T1, T2, T3, T4, T5), (<T1 as RowFormat>::View, <T2 as RowFormat>::View, <T3 as RowFormat>::View, <T4 as RowFormat>::View, <T5 as RowFormat>::View)>>

Which kind of iterator are we turning this into?
source§

fn into_iter(self) -> Self::IntoIter

Creates an iterator from a value. Read more
source§

impl<T1, T2, T3, T4, T5, T6> IntoIterator for TupleView<(T1, T2, T3, T4, T5, T6), (T1::View, T2::View, T3::View, T4::View, T5::View, T6::View)>where T1: RowFormat, T2: RowFormat, T3: RowFormat, T4: RowFormat, T5: RowFormat, T6: RowFormat,

§

type Item = (T1, T2, T3, T4, T5, T6)

The type of the elements being iterated over.
§

type IntoIter = RowViewIter<(T1, T2, T3, T4, T5, T6), TupleView<(T1, T2, T3, T4, T5, T6), (<T1 as RowFormat>::View, <T2 as RowFormat>::View, <T3 as RowFormat>::View, <T4 as RowFormat>::View, <T5 as RowFormat>::View, <T6 as RowFormat>::View)>>

Which kind of iterator are we turning this into?
source§

fn into_iter(self) -> Self::IntoIter

Creates an iterator from a value. Read more
source§

impl RowFormatView<()> for TupleView<(), ()>

source§

fn len(&self) -> usize

Returns the number of wrapped rows.
source§

fn row(&self, i: usize)

Returns the ith row. Read more
source§

unsafe fn row_unchecked(&self, i: usize)

Returns the ith row without bounds checking. Read more
source§

fn is_empty(&self) -> bool

Returns true if the view contains 0 rows.
source§

fn iter(&self) -> RowViewIter<R, Self>

Returns an iterator over the rows in this view.
source§

impl<T1> RowFormatView<(T1,)> for TupleView<(T1,), (T1::View,)>where T1: RowFormat,

source§

fn len(&self) -> usize

Returns the number of wrapped rows.
source§

fn row(&self, i: usize) -> (T1,)

Returns the ith row. Read more
source§

unsafe fn row_unchecked(&self, i: usize) -> (T1,)

Returns the ith row without bounds checking. Read more
source§

fn is_empty(&self) -> bool

Returns true if the view contains 0 rows.
source§

fn iter(&self) -> RowViewIter<R, Self>

Returns an iterator over the rows in this view.
source§

impl<T1, T2> RowFormatView<(T1, T2)> for TupleView<(T1, T2), (T1::View, T2::View)>where T1: RowFormat, T2: RowFormat,

source§

fn len(&self) -> usize

Returns the number of wrapped rows.
source§

fn row(&self, i: usize) -> (T1, T2)

Returns the ith row. Read more
source§

unsafe fn row_unchecked(&self, i: usize) -> (T1, T2)

Returns the ith row without bounds checking. Read more
source§

fn is_empty(&self) -> bool

Returns true if the view contains 0 rows.
source§

fn iter(&self) -> RowViewIter<R, Self>

Returns an iterator over the rows in this view.
source§

impl<T1, T2, T3> RowFormatView<(T1, T2, T3)> for TupleView<(T1, T2, T3), (T1::View, T2::View, T3::View)>where T1: RowFormat, T2: RowFormat, T3: RowFormat,

source§

fn len(&self) -> usize

Returns the number of wrapped rows.
source§

fn row(&self, i: usize) -> (T1, T2, T3)

Returns the ith row. Read more
source§

unsafe fn row_unchecked(&self, i: usize) -> (T1, T2, T3)

Returns the ith row without bounds checking. Read more
source§

fn is_empty(&self) -> bool

Returns true if the view contains 0 rows.
source§

fn iter(&self) -> RowViewIter<R, Self>

Returns an iterator over the rows in this view.
source§

impl<T1, T2, T3, T4> RowFormatView<(T1, T2, T3, T4)> for TupleView<(T1, T2, T3, T4), (T1::View, T2::View, T3::View, T4::View)>where T1: RowFormat, T2: RowFormat, T3: RowFormat, T4: RowFormat,

source§

fn len(&self) -> usize

Returns the number of wrapped rows.
source§

fn row(&self, i: usize) -> (T1, T2, T3, T4)

Returns the ith row. Read more
source§

unsafe fn row_unchecked(&self, i: usize) -> (T1, T2, T3, T4)

Returns the ith row without bounds checking. Read more
source§

fn is_empty(&self) -> bool

Returns true if the view contains 0 rows.
source§

fn iter(&self) -> RowViewIter<R, Self>

Returns an iterator over the rows in this view.
source§

impl<T1, T2, T3, T4, T5> RowFormatView<(T1, T2, T3, T4, T5)> for TupleView<(T1, T2, T3, T4, T5), (T1::View, T2::View, T3::View, T4::View, T5::View)>where T1: RowFormat, T2: RowFormat, T3: RowFormat, T4: RowFormat, T5: RowFormat,

source§

fn len(&self) -> usize

Returns the number of wrapped rows.
source§

fn row(&self, i: usize) -> (T1, T2, T3, T4, T5)

Returns the ith row. Read more
source§

unsafe fn row_unchecked(&self, i: usize) -> (T1, T2, T3, T4, T5)

Returns the ith row without bounds checking. Read more
source§

fn is_empty(&self) -> bool

Returns true if the view contains 0 rows.
source§

fn iter(&self) -> RowViewIter<R, Self>

Returns an iterator over the rows in this view.
source§

impl<T1, T2, T3, T4, T5, T6> RowFormatView<(T1, T2, T3, T4, T5, T6)> for TupleView<(T1, T2, T3, T4, T5, T6), (T1::View, T2::View, T3::View, T4::View, T5::View, T6::View)>where T1: RowFormat, T2: RowFormat, T3: RowFormat, T4: RowFormat, T5: RowFormat, T6: RowFormat,

source§

fn len(&self) -> usize

Returns the number of wrapped rows.
source§

fn row(&self, i: usize) -> (T1, T2, T3, T4, T5, T6)

Returns the ith row. Read more
source§

unsafe fn row_unchecked(&self, i: usize) -> (T1, T2, T3, T4, T5, T6)

Returns the ith row without bounds checking. Read more
source§

fn is_empty(&self) -> bool

Returns true if the view contains 0 rows.
source§

fn iter(&self) -> RowViewIter<R, Self>

Returns an iterator over the rows in this view.

Auto Trait Implementations§

§

impl<T, V> RefUnwindSafe for TupleView<T, V>where T: RefUnwindSafe, V: RefUnwindSafe,

§

impl<T, V> Send for TupleView<T, V>where T: Send, V: Send,

§

impl<T, V> Sync for TupleView<T, V>where T: Sync, V: Sync,

§

impl<T, V> Unpin for TupleView<T, V>where T: Unpin, V: Unpin,

§

impl<T, V> UnwindSafe for TupleView<T, V>where T: UnwindSafe, V: UnwindSafe,

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

source§

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

Mutably borrows from an owned value. 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 Twhere 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> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere T: Clone,

§

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 Twhere U: Into<T>,

§

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 Twhere U: TryFrom<T>,

§

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

impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> Allocation for Twhere T: RefUnwindSafe + Send + Sync,