#[repr(transparent)]pub struct Idx(_);
Expand description
Primitive data type for identifying a vector in an index (or lack thereof).
Depending on the kind of index, it may be possible for vectors to share the same ID.
Implementations§
Trait Implementations§
source§impl PartialEq<Idx> for Idx
impl PartialEq<Idx> for Idx
This comparison is not entirely reflexive: it returns always false
if at
least one of the values is a none
.
source§impl PartialOrd<Idx> for Idx
impl PartialOrd<Idx> for Idx
This comparison is not entirely reflexive: it returns always None
if at
least one of the values is a none
.
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Idx
Auto Trait Implementations§
impl RefUnwindSafe for Idx
impl Send for Idx
impl Sync for Idx
impl Unpin for Idx
impl UnwindSafe for Idx
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