pub enum GroupsProxy {
Idx(GroupsIdx),
Slice {
groups: Vec<[u32; 2]>,
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<u32>
Sourcepub unsafe fn take_group_lasts(self) -> Vec<u32>
pub unsafe fn take_group_lasts(self) -> Vec<u32>
§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) -> &Vec<[u32; 2]>
pub fn unwrap_slice(&self) -> &Vec<[u32; 2]>
pub fn get(&self, index: usize) -> GroupsIndicator<'_>
pub fn len(&self) -> usize
pub fn is_empty(&self) -> bool
pub fn group_count(&self) -> ChunkedArray<UInt32Type>
pub fn as_list_chunked(&self) -> ChunkedArray<ListType>
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§fn default() -> GroupsProxy
fn default() -> GroupsProxy
Returns the “default value” for a type. Read more
Source§impl From<GroupsIdx> for GroupsProxy
impl From<GroupsIdx> for GroupsProxy
Source§fn from(groups: GroupsIdx) -> GroupsProxy
fn from(groups: GroupsIdx) -> GroupsProxy
Converts to this type from the input type.
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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