pub struct IterRecords<I> { /* private fields */ }
Expand description
A Records implementation for any IntoIterator.
Implementations§
Source§impl<I> IterRecords<I>
impl<I> IterRecords<I>
Sourcepub const fn new(
iter: I,
count_columns: usize,
count_rows: Option<usize>,
) -> IterRecords<I>
pub const fn new( iter: I, count_columns: usize, count_rows: Option<usize>, ) -> IterRecords<I>
Returns a new IterRecords object.
Trait Implementations§
Source§impl<I> Clone for IterRecords<I>where
I: Clone,
impl<I> Clone for IterRecords<I>where
I: Clone,
Source§fn clone(&self) -> IterRecords<I>
fn clone(&self) -> IterRecords<I>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<I> Debug for IterRecords<I>where
I: Debug,
impl<I> Debug for IterRecords<I>where
I: Debug,
Source§impl<I> IntoRecords for IterRecords<I>where
I: IntoRecords,
impl<I> IntoRecords for IterRecords<I>where
I: IntoRecords,
Source§type Cell = <I as IntoRecords>::Cell
type Cell = <I as IntoRecords>::Cell
A string representation of a grid cell.
Source§type IterColumns = <I as IntoRecords>::IterColumns
type IterColumns = <I as IntoRecords>::IterColumns
Cell iterator inside a row.
Source§type IterRows = <I as IntoRecords>::IterRows
type IterRows = <I as IntoRecords>::IterRows
Rows iterator.
Source§fn iter_rows(self) -> <IterRecords<I> as IntoRecords>::IterRows
fn iter_rows(self) -> <IterRecords<I> as IntoRecords>::IterRows
Returns an iterator over rows.
Source§impl<I> Ord for IterRecords<I>where
I: Ord,
impl<I> Ord for IterRecords<I>where
I: Ord,
Source§fn cmp(&self, other: &IterRecords<I>) -> Ordering
fn cmp(&self, other: &IterRecords<I>) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl<I> PartialEq for IterRecords<I>where
I: PartialEq,
impl<I> PartialEq for IterRecords<I>where
I: PartialEq,
Source§impl<I> PartialOrd for IterRecords<I>where
I: PartialOrd,
impl<I> PartialOrd for IterRecords<I>where
I: PartialOrd,
Source§impl<'a, I> Records for &'a IterRecords<I>where
&'a I: IntoRecords,
impl<'a, I> Records for &'a IterRecords<I>where
&'a I: IntoRecords,
Source§fn iter_rows(
self,
) -> <<&'a IterRecords<I> as Records>::Iter as IntoRecords>::IterRows
fn iter_rows( self, ) -> <<&'a IterRecords<I> as Records>::Iter as IntoRecords>::IterRows
Returns a iterator over rows.
Source§fn count_columns(&self) -> usize
fn count_columns(&self) -> usize
Returns count of columns in the records.
Source§fn hint_count_rows(&self) -> Option<usize>
fn hint_count_rows(&self) -> Option<usize>
Hint amount of rows in the records.
Source§impl<I> Records for IterRecords<I>where
I: IntoRecords,
impl<I> Records for IterRecords<I>where
I: IntoRecords,
Source§fn iter_rows(
self,
) -> <<IterRecords<I> as Records>::Iter as IntoRecords>::IterRows
fn iter_rows( self, ) -> <<IterRecords<I> as Records>::Iter as IntoRecords>::IterRows
Returns a iterator over rows.
Source§fn count_columns(&self) -> usize
fn count_columns(&self) -> usize
Returns count of columns in the records.
Source§fn hint_count_rows(&self) -> Option<usize>
fn hint_count_rows(&self) -> Option<usize>
Hint amount of rows in the records.
impl<I> Copy for IterRecords<I>where
I: Copy,
impl<I> Eq for IterRecords<I>where
I: Eq,
impl<I> StructuralPartialEq for IterRecords<I>
Auto Trait Implementations§
impl<I> Freeze for IterRecords<I>where
I: Freeze,
impl<I> RefUnwindSafe for IterRecords<I>where
I: RefUnwindSafe,
impl<I> Send for IterRecords<I>where
I: Send,
impl<I> Sync for IterRecords<I>where
I: Sync,
impl<I> Unpin for IterRecords<I>where
I: Unpin,
impl<I> UnwindSafe for IterRecords<I>where
I: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more