Trait Components

Source
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§

Source

fn components(&self) -> usize

Return the number of components of the model.

Source

fn subset(&self, component_list: &[usize]) -> Self

Return a model consisting of the components contained in component_list.

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.

Implementors§