pub enum CombineOp {
Keep,
Replace,
Max,
Min,
Sum,
}Expand description
An in-place single-cell reduction op for the live tf-fold (Column::combine_at):
fold one incoming value into a forming aggregate without re-reducing the period
or allocating. The dual of [crate::Agg]’s reduce — first keeps, last
replaces, the rest combine associatively.
Variants§
Keep
Keep the destination unchanged (the period’s first).
Replace
Overwrite with the source value (the period’s last).
Max
Running maximum.
Min
Running minimum.
Sum
Running sum.
Trait Implementations§
impl Copy for CombineOp
impl Eq for CombineOp
impl StructuralPartialEq for CombineOp
Auto Trait Implementations§
impl Freeze for CombineOp
impl RefUnwindSafe for CombineOp
impl Send for CombineOp
impl Sync for CombineOp
impl Unpin for CombineOp
impl UnsafeUnpin for CombineOp
impl UnwindSafe for CombineOp
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