pub struct ArgMinMaxWindow<'a, T, P> { /* private fields */ }Trait Implementations§
Source§impl<T: NativeType, P: MinMaxPolicy> RollingAggWindowNoNulls<T, u32> for ArgMinMaxWindow<'_, T, P>
impl<T: NativeType, P: MinMaxPolicy> RollingAggWindowNoNulls<T, u32> for ArgMinMaxWindow<'_, T, P>
type This<'a> = ArgMinMaxWindow<'a, T, P>
fn new<'a>( slice: &'a [T], start: usize, end: usize, params: Option<RollingFnParams>, _window_size: Option<usize>, ) -> Self::This<'a>
Source§unsafe fn update(&mut self, new_start: usize, new_end: usize)
unsafe fn update(&mut self, new_start: usize, new_end: usize)
Update and recompute the window Read more
Source§impl<T: NativeType, P: MinMaxPolicy> RollingAggWindowNulls<T, u32> for ArgMinMaxWindow<'_, T, P>
impl<T: NativeType, P: MinMaxPolicy> RollingAggWindowNulls<T, u32> for ArgMinMaxWindow<'_, T, P>
type This<'a> = ArgMinMaxWindow<'a, T, 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<IdxSize>
fn get_agg(&self, _idx: usize) -> Option<IdxSize>
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, P> Freeze for ArgMinMaxWindow<'a, T, P>
impl<'a, T, P> !RefUnwindSafe for ArgMinMaxWindow<'a, T, P>
impl<'a, T, P> Send for ArgMinMaxWindow<'a, T, P>
impl<'a, T, P> Sync for ArgMinMaxWindow<'a, T, P>
impl<'a, T, P> Unpin for ArgMinMaxWindow<'a, T, P>where
P: Unpin,
impl<'a, T, P> !UnwindSafe for ArgMinMaxWindow<'a, T, 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