pub trait Records: Sized {
type Elem;
// Required methods
fn nsamples(&self) -> usize;
fn nfeatures(&self) -> usize;
}
Expand description
Record trait
Required Associated Types§
Required Methods§
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.
Implementations on Foreign Types§
Source§impl<F, S: Data<Elem = F>, I: Dimension> Records for ArrayBase<S, I>
Implement records for NdArrays
impl<F, S: Data<Elem = F>, I: Dimension> Records for ArrayBase<S, I>
Implement records for NdArrays