pub trait QuantizedCode:
Clone
+ Send
+ Sync {
// Required method
fn size_bytes(&self) -> usize;
}Expand description
Trait for quantized vector codes
Required Methods§
Sourcefn size_bytes(&self) -> usize
fn size_bytes(&self) -> usize
Size in bytes of this code
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".