pub struct CompactOpts {
pub mode: Mode,
pub start_after: Option<(String, u64)>,
pub page_size: usize,
pub max_cols: usize,
}Fields§
§mode: Mode§start_after: Option<(String, u64)>Keyset resume position: render only entries strictly after this (path, lineno) key (lineno is
ignored in files/count modes). None starts from the beginning.
page_size: usize§max_cols: usizeTrait Implementations§
Auto Trait Implementations§
impl Freeze for CompactOpts
impl RefUnwindSafe for CompactOpts
impl Send for CompactOpts
impl Sync for CompactOpts
impl Unpin for CompactOpts
impl UnsafeUnpin for CompactOpts
impl UnwindSafe for CompactOpts
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more