pub struct MutTypedStatsSetRef<'a, 'b> {
pub values: &'a mut StatsSet,
pub dtype: &'b DType,
}
Fields§
§values: &'a mut StatsSet
§dtype: &'b DType
Implementations§
Source§impl MutTypedStatsSetRef<'_, '_>
impl MutTypedStatsSetRef<'_, '_>
Source§impl MutTypedStatsSetRef<'_, '_>
impl MutTypedStatsSetRef<'_, '_>
Sourcepub fn merge_ordered(self, other: &TypedStatsSetRef<'_, '_>) -> Self
pub fn merge_ordered(self, other: &TypedStatsSetRef<'_, '_>) -> Self
Merge stats set other
into self
, with the semantic assumption that other
contains stats from a disjoint array that is appended to the array represented by self
.
Sourcepub fn merge_unordered(self, other: &TypedStatsSetRef<'_, '_>) -> Self
pub fn merge_unordered(self, other: &TypedStatsSetRef<'_, '_>) -> Self
Merge stats set other
into self
, from a disjoint array, with no ordering assumptions.
Stats that are not commutative (e.g., is_sorted) are dropped from the result.
Sourcepub fn combine_sets(
&mut self,
other: &TypedStatsSetRef<'_, '_>,
) -> VortexResult<()>
pub fn combine_sets( &mut self, other: &TypedStatsSetRef<'_, '_>, ) -> VortexResult<()>
Given two sets of stats (of differing precision) for the same array, combine them
Trait Implementations§
Auto Trait Implementations§
impl<'a, 'b> Freeze for MutTypedStatsSetRef<'a, 'b>
impl<'a, 'b> RefUnwindSafe for MutTypedStatsSetRef<'a, 'b>
impl<'a, 'b> Send for MutTypedStatsSetRef<'a, 'b>
impl<'a, 'b> Sync for MutTypedStatsSetRef<'a, 'b>
impl<'a, 'b> Unpin for MutTypedStatsSetRef<'a, 'b>
impl<'a, 'b> !UnwindSafe for MutTypedStatsSetRef<'a, 'b>
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