#[non_exhaustive]pub enum ScanOp {
Sum,
Product,
}Expand description
Runtime operation of an ErasedScanPlan.
§Examples
use strided_basic::ScanOp;
assert_ne!(ScanOp::Sum, ScanOp::Product);Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Sum
Cumulative sum (cumsum). Integers wrap on overflow.
Product
Cumulative product (cumprod). Integers wrap on overflow.
Trait Implementations§
impl Copy for ScanOp
impl Eq for ScanOp
impl StructuralPartialEq for ScanOp
Auto Trait Implementations§
impl Freeze for ScanOp
impl RefUnwindSafe for ScanOp
impl Send for ScanOp
impl Sync for ScanOp
impl Unpin for ScanOp
impl UnsafeUnpin for ScanOp
impl UnwindSafe for ScanOp
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