Struct papergrid::records::IterRecords
source · pub struct IterRecords<I> { /* private fields */ }
Expand description
A Records implementation for any IntoIterator.
Implementations§
source§impl<I> IterRecords<I>
impl<I> IterRecords<I>
Trait Implementations§
source§impl<I: Clone> Clone for IterRecords<I>
impl<I: Clone> Clone for IterRecords<I>
source§fn clone(&self) -> IterRecords<I>
fn clone(&self) -> IterRecords<I>
Returns a copy 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> Debug for IterRecords<I>
impl<I: Debug> Debug for IterRecords<I>
source§impl<I> IntoRecords for IterRecords<I>where
I: IntoRecords,
impl<I> IntoRecords for IterRecords<I>where
I: IntoRecords,
§type Cell = <I as IntoRecords>::Cell
type Cell = <I as IntoRecords>::Cell
A string representation of a
Grid
cell.§type IterColumns = <I as IntoRecords>::IterColumns
type IterColumns = <I as IntoRecords>::IterColumns
Cell iterator inside a row.
§type IterRows = <I as IntoRecords>::IterRows
type IterRows = <I as IntoRecords>::IterRows
Rows iterator.
source§impl<I: Ord> Ord for IterRecords<I>
impl<I: Ord> Ord for IterRecords<I>
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> PartialEq for IterRecords<I>
impl<I: PartialEq> PartialEq for IterRecords<I>
source§fn eq(&self, other: &IterRecords<I>) -> bool
fn eq(&self, other: &IterRecords<I>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<I: PartialOrd> PartialOrd for IterRecords<I>
impl<I: PartialOrd> PartialOrd for IterRecords<I>
source§fn partial_cmp(&self, other: &IterRecords<I>) -> Option<Ordering>
fn partial_cmp(&self, other: &IterRecords<I>) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§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 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 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> Copy for IterRecords<I>
impl<I: Eq> Eq for IterRecords<I>
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
source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)