pub struct ReaderOptions {
pub window_size: u64,
pub bounds: ReaderBounds,
/* private fields */
}Fields§
§window_size: u64§bounds: ReaderBoundsImplementations§
Source§impl ReaderOptions
impl ReaderOptions
pub fn live() -> Self
pub fn snapshot() -> Self
pub fn with_window_size(self, window_size: u64) -> Self
pub fn with_bounds(self, bounds: ReaderBounds) -> Self
Trait Implementations§
Source§impl Clone for ReaderOptions
impl Clone for ReaderOptions
Source§fn clone(&self) -> ReaderOptions
fn clone(&self) -> ReaderOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ReaderOptions
Source§impl Debug for ReaderOptions
impl Debug for ReaderOptions
Source§impl Default for ReaderOptions
impl Default for ReaderOptions
impl Eq for ReaderOptions
Source§impl PartialEq for ReaderOptions
impl PartialEq for ReaderOptions
Source§fn eq(&self, other: &ReaderOptions) -> bool
fn eq(&self, other: &ReaderOptions) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ReaderOptions
Auto Trait Implementations§
impl Freeze for ReaderOptions
impl RefUnwindSafe for ReaderOptions
impl Send for ReaderOptions
impl Sync for ReaderOptions
impl Unpin for ReaderOptions
impl UnsafeUnpin for ReaderOptions
impl UnwindSafe for ReaderOptions
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