pub trait LDATraitConst {
// Required method
fn as_raw_LDA(&self) -> *const c_void;
// Provided methods
fn save(&self, filename: &str) -> Result<()> { ... }
fn save_1(&self, fs: &mut impl FileStorageTrait) -> Result<()> { ... }
fn eigenvectors(&self) -> Result<Mat> { ... }
fn eigenvalues(&self) -> Result<Mat> { ... }
}
Expand description
Constant methods for core::LDA
Required Methods§
fn as_raw_LDA(&self) -> *const c_void
Provided Methods§
Sourcefn save_1(&self, fs: &mut impl FileStorageTrait) -> Result<()>
fn save_1(&self, fs: &mut impl FileStorageTrait) -> Result<()>
Serializes this object to a given cv::FileStorage.
Sourcefn eigenvectors(&self) -> Result<Mat>
fn eigenvectors(&self) -> Result<Mat>
Returns the eigenvectors of this LDA.
Sourcefn eigenvalues(&self) -> Result<Mat>
fn eigenvalues(&self) -> Result<Mat>
Returns the eigenvalues of this LDA.
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.