Struct tabled::grid::records::into_records::buf_records::BufRecords
source · pub struct BufRecords<I, T> { /* private fields */ }
Available on crate feature
std
only.Expand description
BufRecords inspects IntoRecords
iterator and keeps read data buffered.
So it can be checking before hand.
Implementations§
source§impl BufRecords<(), ()>
impl BufRecords<(), ()>
sourcepub fn new<I>(
records: I,
sniff: usize
) -> BufRecords<<I::IterRows as IntoIterator>::IntoIter, I::Cell>where
I: IntoRecords,
pub fn new<I>(
records: I,
sniff: usize
) -> BufRecords<<I::IterRows as IntoIterator>::IntoIter, I::Cell>where
I: IntoRecords,
Creates new BufRecords
structure, filling the buffer.
Trait Implementations§
source§impl<I> IntoRecords for BufRecords<I, <I::Item as IntoIterator>::Item>
impl<I> IntoRecords for BufRecords<I, <I::Item as IntoIterator>::Item>
§type IterColumns = BufIterator<<<I as Iterator>::Item as IntoIterator>::IntoIter, <BufRecords<I, <<I as Iterator>::Item as IntoIterator>::Item> as IntoRecords>::Cell>
type IterColumns = BufIterator<<<I as Iterator>::Item as IntoIterator>::IntoIter, <BufRecords<I, <<I as Iterator>::Item as IntoIterator>::Item> as IntoRecords>::Cell>
Cell iterator inside a row.
§type IterRows = BufRecordsIter<I, <BufRecords<I, <<I as Iterator>::Item as IntoIterator>::Item> as IntoRecords>::Cell>
type IterRows = BufRecordsIter<I, <BufRecords<I, <<I as Iterator>::Item as IntoIterator>::Item> as IntoRecords>::Cell>
Rows iterator.
Auto Trait Implementations§
impl<I, T> RefUnwindSafe for BufRecords<I, T>where
I: RefUnwindSafe,
T: RefUnwindSafe,
impl<I, T> Send for BufRecords<I, T>
impl<I, T> Sync for BufRecords<I, T>
impl<I, T> Unpin for BufRecords<I, T>
impl<I, T> UnwindSafe for BufRecords<I, T>where
I: UnwindSafe,
T: 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