pub struct QuantizedVectorSnapshot {
pub dim: usize,
pub bits: u8,
pub clip: f32,
pub rotation_seed: u64,
pub codes_data: Vec<u8>,
pub codes_len: usize,
pub codes_bits: u8,
pub qjl_residual: Option<QjlResidualSnapshot>,
}Fields§
§dim: usize§bits: u8§clip: f32§rotation_seed: u64§codes_data: Vec<u8>§codes_len: usize§codes_bits: u8§qjl_residual: Option<QjlResidualSnapshot>Trait Implementations§
Source§impl Clone for QuantizedVectorSnapshot
impl Clone for QuantizedVectorSnapshot
Source§fn clone(&self) -> QuantizedVectorSnapshot
fn clone(&self) -> QuantizedVectorSnapshot
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for QuantizedVectorSnapshot
impl RefUnwindSafe for QuantizedVectorSnapshot
impl Send for QuantizedVectorSnapshot
impl Sync for QuantizedVectorSnapshot
impl Unpin for QuantizedVectorSnapshot
impl UnsafeUnpin for QuantizedVectorSnapshot
impl UnwindSafe for QuantizedVectorSnapshot
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more