pub trait Components {
// Required methods
fn components(&self) -> usize;
fn subset(&self, component_list: &[usize]) -> Self;
}
Expand description
The number of components that the model is initialized for.
Required Methods§
Sourcefn components(&self) -> usize
fn components(&self) -> usize
Return the number of components of the model.
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.