pub trait ScalarOps:
Sealed
+ Sized
+ Into<Scalar> {
// Required methods
fn is_valid(&self) -> bool;
fn repeat(&self, n: usize) -> VectorMut;
// Provided method
fn is_invalid(&self) -> bool { ... }
}Expand description
Trait for scalar operations.
Required Methods§
Provided Methods§
Sourcefn is_invalid(&self) -> bool
fn is_invalid(&self) -> bool
Returns true if the scalar is null.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.