pub struct QuantileWindow<'a, T: NativeType + IsFloat + PartialOrd> { /* private fields */ }Trait Implementations§
Source§impl<T: NativeType + IsFloat + Float + Sum + AddAssign + SubAssign + Div<Output = T> + NumCast + One + Zero + SealedRolling + PartialOrd + Sub<Output = T>> RollingAggWindowNulls<T> for QuantileWindow<'_, T>
impl<T: NativeType + IsFloat + Float + Sum + AddAssign + SubAssign + Div<Output = T> + NumCast + One + Zero + SealedRolling + PartialOrd + Sub<Output = T>> RollingAggWindowNulls<T> for QuantileWindow<'_, T>
type This<'a> = QuantileWindow<'a, T>
Source§fn new<'a>(
slice: &'a [T],
validity: &'a Bitmap,
start: usize,
end: usize,
params: Option<RollingFnParams>,
window_size: Option<usize>,
) -> Self::This<'a>
fn new<'a>( slice: &'a [T], validity: &'a Bitmap, start: usize, end: usize, params: Option<RollingFnParams>, window_size: Option<usize>, ) -> Self::This<'a>
Safety Read more
Source§fn get_agg(&self, _idx: usize) -> Option<T>
fn get_agg(&self, _idx: usize) -> Option<T>
Get the aggregate of the current window relative to the value at
idx.fn is_valid(&self, min_periods: usize) -> bool
Auto Trait Implementations§
impl<'a, T> Freeze for QuantileWindow<'a, T>
impl<'a, T> !RefUnwindSafe for QuantileWindow<'a, T>
impl<'a, T> Send for QuantileWindow<'a, T>
impl<'a, T> Sync for QuantileWindow<'a, T>
impl<'a, T> Unpin for QuantileWindow<'a, T>where
T: Unpin,
impl<'a, T> !UnwindSafe for QuantileWindow<'a, T>
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