pub struct UnitRef {
pub segment: u32,
pub ordinal: u32,
}Expand description
Where one vector is: a segment of a VectorIndex and the vector’s
ordinal within it.
Fields§
§segment: u32Position of the segment in the index’s segment list.
ordinal: u32Trait Implementations§
impl Copy for UnitRef
impl Eq for UnitRef
Source§impl HeapBytes for UnitRef
impl HeapBytes for UnitRef
Source§fn heap_bytes(&self, _seen: &mut Seen) -> usize
fn heap_bytes(&self, _seen: &mut Seen) -> usize
The bytes this value owns on the heap; an allocation
seen has
already counted adds nothing.Source§impl Ord for UnitRef
impl Ord for UnitRef
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for UnitRef
impl PartialOrd for UnitRef
impl StructuralPartialEq for UnitRef
Auto Trait Implementations§
impl Forget for UnitRef
impl Freeze for UnitRef
impl Move for UnitRef
impl RefUnwindSafe for UnitRef
impl Send for UnitRef
impl Sync for UnitRef
impl Unpin for UnitRef
impl UnsafeUnpin for UnitRef
impl UnwindSafe for UnitRef
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