pub trait GenericUniqueKernel {
// Required methods
fn unique(&self) -> Self;
fn n_unique(&self) -> usize;
fn n_unique_non_null(&self) -> usize;
}
Expand description
A generic unique kernel that selects the generally applicable unique kernel for an Array
.
Required Methods§
Sourcefn n_unique_non_null(&self) -> usize
fn n_unique_non_null(&self) -> usize
Calculate the number of unique elements excluding 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.