use diskann_vector::contains::ContainsSimd;
use num_traits::FromPrimitive;
use crate::utils::{IntoUsize, TryIntoInteger, TypeStr, VectorIdTryFrom};
pub trait VectorId:
std::cmp::Eq
+ std::cmp::PartialEq
+ std::cmp::Ord
+ std::hash::Hash
+ TypeStr
+ VectorIdTryFrom<u32>
+ VectorIdTryFrom<u64>
+ VectorIdTryFrom<usize>
+ TryIntoInteger<u32>
+ Into<u64>
+ IntoUsize
+ FromPrimitive
+ 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
+ Into<u64>
+ IntoUsize
+ VectorIdTryFrom<u32>
+ VectorIdTryFrom<u64>
+ VectorIdTryFrom<usize>
+ TryIntoInteger<u32>
+ FromPrimitive
+ Copy
+ Sized
+ Send
+ Sync
+ std::fmt::Debug
+ std::fmt::Display
+ Default
+ ContainsSimd
+ bytemuck::Pod
+ 'static
{
}