pub struct WindowReader { /* private fields */ }Expand description
How RowWindow reads a source; from RowWindow::reader.
Implementations§
Source§impl WindowReader
impl WindowReader
Sourcepub fn offset(self, offset: usize) -> Self
pub fn offset(self, offset: usize) -> Self
Start the window at row offset (0-based, default 0).
Sourcepub fn sample(self, rows: usize) -> Self
pub fn sample(self, rows: usize) -> Self
Also keep the first rows rows, for column widths and alignment
(default DEFAULT_SAMPLE, at most MAX_SAMPLE).
Trait Implementations§
Source§impl Clone for WindowReader
impl Clone for WindowReader
Source§impl Debug for WindowReader
impl Debug for WindowReader
Auto Trait Implementations§
impl Freeze for WindowReader
impl RefUnwindSafe for WindowReader
impl Send for WindowReader
impl Sync for WindowReader
impl Unpin for WindowReader
impl UnsafeUnpin for WindowReader
impl UnwindSafe for WindowReader
Blanket Implementations§
impl<T> Allocation for T
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