pub struct DiskANNQuantizationIdentity { /* private fields */ }Implementations§
Source§impl DiskANNQuantizationIdentity
impl DiskANNQuantizationIdentity
pub fn encode_codes( self, start: u64, codes: &[u8], control: &StorageReadControl, ) -> StorageBackendResult<BudgetedVec<u8>>
pub fn decode_codes<'a>( self, start: u64, bytes: &'a [u8], control: &StorageReadControl, ) -> StorageBackendResult<DiskANNCodeBatch<'a>>
Source§impl DiskANNQuantizationIdentity
impl DiskANNQuantizationIdentity
pub fn codebook_digest(self) -> [u8; 32]
pub fn node_count(self) -> u64
pub fn pq_bytes(self) -> usize
Trait Implementations§
Source§impl Clone for DiskANNQuantizationIdentity
impl Clone for DiskANNQuantizationIdentity
impl Copy for DiskANNQuantizationIdentity
Source§impl Debug for DiskANNQuantizationIdentity
impl Debug for DiskANNQuantizationIdentity
impl Eq for DiskANNQuantizationIdentity
impl StructuralPartialEq for DiskANNQuantizationIdentity
Auto Trait Implementations§
impl Freeze for DiskANNQuantizationIdentity
impl RefUnwindSafe for DiskANNQuantizationIdentity
impl Send for DiskANNQuantizationIdentity
impl Sync for DiskANNQuantizationIdentity
impl Unpin for DiskANNQuantizationIdentity
impl UnsafeUnpin for DiskANNQuantizationIdentity
impl UnwindSafe for DiskANNQuantizationIdentity
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