use diskann_vector::contains::ContainsSimd;
use crate::utils::TypeStr;
pub trait VectorId:
std::cmp::Eq
+ std::cmp::PartialEq
+ std::cmp::Ord
+ std::hash::Hash
+ TypeStr
+ Copy
+ Sized
+ Send
+ Sync
+ std::fmt::Debug
+ std::fmt::Display
+ Default
+ ContainsSimd
+ bytemuck::Pod
+ 'static
{
}
impl<T> VectorId for T where
T: std::cmp::Eq
+ std::cmp::PartialEq
+ std::cmp::Ord
+ std::hash::Hash
+ TypeStr
+ Copy
+ Sized
+ Send
+ Sync
+ std::fmt::Debug
+ std::fmt::Display
+ Default
+ ContainsSimd
+ bytemuck::Pod
+ 'static
{
}