pub trait LinearTransform: VectorTransform {
// Required method
fn inner_linear_ptr(&self) -> *mut FaissLinearTransform;
// Provided methods
fn transform_transpose(&self, n: usize, y: &[f32], x: &mut [f32]) { ... }
fn set_is_orthonormal(&mut self) { ... }
fn have_bias(&self) -> bool { ... }
fn is_orthonormal(&self) -> bool { ... }
}Required Methods§
fn inner_linear_ptr(&self) -> *mut FaissLinearTransform
Provided Methods§
fn transform_transpose(&self, n: usize, y: &[f32], x: &mut [f32])
fn set_is_orthonormal(&mut self)
fn have_bias(&self) -> bool
fn is_orthonormal(&self) -> bool
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".