pub enum GroupsProxy {
Idx(GroupsIdx),
Slice {
groups: GroupsSlice,
rolling: bool,
},
}
Available on crate feature
algorithm_group_by
only.Variants§
Implementations§
Source§impl GroupsProxy
impl GroupsProxy
pub fn into_idx(self) -> GroupsIdx
pub fn iter(&self) -> GroupsProxyIter<'_> ⓘ
pub fn sort(&mut self)
pub fn take_group_firsts(self) -> Vec<IdxSize>
Sourcepub unsafe fn take_group_lasts(self) -> Vec<IdxSize>
pub unsafe fn take_group_lasts(self) -> Vec<IdxSize>
§Safety
This will not do any bounds checks. The caller must ensure all groups have members.
pub fn par_iter(&self) -> GroupsProxyParIter<'_>
Sourcepub fn unwrap_idx(&self) -> &GroupsIdx
pub fn unwrap_idx(&self) -> &GroupsIdx
Sourcepub fn unwrap_slice(&self) -> &GroupsSlice
pub fn unwrap_slice(&self) -> &GroupsSlice
pub fn get(&self, index: usize) -> GroupsIndicator<'_>
pub fn len(&self) -> usize
pub fn is_empty(&self) -> bool
pub fn group_count(&self) -> IdxCa
pub fn as_list_chunked(&self) -> ListChunked
pub fn unroll(self) -> GroupsProxy
pub fn slice(&self, offset: i64, len: usize) -> SlicedGroups<'_>
Trait Implementations§
Source§impl Clone for GroupsProxy
impl Clone for GroupsProxy
Source§fn clone(&self) -> GroupsProxy
fn clone(&self) -> GroupsProxy
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for GroupsProxy
impl Debug for GroupsProxy
Source§impl Default for GroupsProxy
impl Default for GroupsProxy
Source§impl From<GroupsIdx> for GroupsProxy
impl From<GroupsIdx> for GroupsProxy
Source§impl PartialEq for GroupsProxy
impl PartialEq for GroupsProxy
impl Eq for GroupsProxy
impl StructuralPartialEq for GroupsProxy
Auto Trait Implementations§
impl Freeze for GroupsProxy
impl RefUnwindSafe for GroupsProxy
impl Send for GroupsProxy
impl Sync for GroupsProxy
impl Unpin for GroupsProxy
impl UnwindSafe for GroupsProxy
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.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