pub struct RankWindow<'a, T, Out, P> { /* private fields */ }Trait Implementations§
Source§impl<T, Out, P> RollingAggWindowNulls<T, Out> for RankWindow<'_, T, Out, P>where
T: NativeType,
Out: NativeType,
P: RankPolicy<T, Out>,
impl<T, Out, P> RollingAggWindowNulls<T, Out> for RankWindow<'_, T, Out, P>where
T: NativeType,
Out: NativeType,
P: RankPolicy<T, Out>,
type This<'a> = RankWindow<'a, T, Out, P>
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<Out>
fn get_agg(&self, idx: usize) -> Option<Out>
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, Out, P> Freeze for RankWindow<'a, T, Out, P>where
P: Freeze,
impl<'a, T, Out, P> !RefUnwindSafe for RankWindow<'a, T, Out, P>
impl<'a, T, Out, P> Send for RankWindow<'a, T, Out, P>
impl<'a, T, Out, P> Sync for RankWindow<'a, T, Out, P>
impl<'a, T, Out, P> Unpin for RankWindow<'a, T, Out, P>
impl<'a, T, Out, P> !UnwindSafe for RankWindow<'a, T, Out, P>
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