pub enum EmitTo {
All,
First(usize),
}
Expand description
Describes how many rows should be emitted during grouping.
Variants§
All
Emit all groups
First(usize)
Emit only the first n
groups and shift all existing group
indexes down by n
.
For example, if n=10
, group_index 0, 1, ... 9
are emitted
and group indexes 10, 11, 12, ...
become 0, 1, 2, ...
.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for EmitTo
impl RefUnwindSafe for EmitTo
impl Send for EmitTo
impl Sync for EmitTo
impl Unpin for EmitTo
impl UnwindSafe for EmitTo
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: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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> 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