[−][src]Struct lsh_rs::prelude::L2
L2 Hasher family. Read more.
Fields
a: Array2<N>
r: N
b: Array1<N>
Implementations
impl<N, K> L2<N, K> where
N: Numeric + Float,
K: Integer,
[src]
N: Numeric + Float,
K: Integer,
Trait Implementations
impl<N: Clone, K: Clone> Clone for L2<N, K>
[src]
impl<'de, N, K> Deserialize<'de> for L2<N, K> where
N: Deserialize<'de>,
[src]
N: Deserialize<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl<N, K> QueryDirectedProbe<N, K> for L2<N, K> where
N: Numeric + Float,
K: Integer,
[src]
N: Numeric + Float,
K: Integer,
impl<N, K> Serialize for L2<N, K> where
N: Serialize,
[src]
N: Serialize,
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl<N, K> VecHash<N, K> for L2<N, K> where
N: Numeric + Float,
K: Integer,
[src]
N: Numeric + Float,
K: Integer,
fn hash_vec_query(&self, v: &[N]) -> Vec<K>
[src]
fn as_query_directed_probe(&self) -> Option<&dyn QueryDirectedProbe<N, K>>
[src]
fn hash_vec_put(&self, v: &[N]) -> Vec<K>
[src]
fn as_step_wise_probe(&self) -> Option<&dyn StepWiseProbe<N, K>>
[src]
Auto Trait Implementations
impl<N, K> RefUnwindSafe for L2<N, K> where
K: RefUnwindSafe,
N: RefUnwindSafe,
K: RefUnwindSafe,
N: RefUnwindSafe,
impl<N, K> Send for L2<N, K> where
K: Send,
N: Send,
K: Send,
N: Send,
impl<N, K> Sync for L2<N, K> where
K: Sync,
N: Sync,
K: Sync,
N: Sync,
impl<N, K> Unpin for L2<N, K> where
K: Unpin,
N: Unpin,
K: Unpin,
N: Unpin,
impl<N, K> UnwindSafe for L2<N, K> where
K: UnwindSafe,
N: RefUnwindSafe + UnwindSafe,
K: UnwindSafe,
N: RefUnwindSafe + UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,