Skip to main content

PcaComponent

Trait PcaComponent 

Source
pub trait PcaComponent:
    Sealed
    + Sized
    + Debug {
    // Required method
    fn n_components(&self) -> usize;
}
Expand description

State of a Pca. Sealed: downstream crates cannot add states, so the set of valid transitions stays a fact local to this module.

Required Methods§

Source

fn n_components(&self) -> usize

Requested component count on state::Unfitted; actual (clamped) count on state::Fitted.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§