pub struct SimHashFingerprint(pub u64);Expand description
A 64-bit SimHash fingerprint.
Tuple Fields§
§0: u64Trait Implementations§
Source§impl Clone for SimHashFingerprint
impl Clone for SimHashFingerprint
Source§fn clone(&self) -> SimHashFingerprint
fn clone(&self) -> SimHashFingerprint
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SimHashFingerprint
Source§impl Debug for SimHashFingerprint
impl Debug for SimHashFingerprint
impl Eq for SimHashFingerprint
Source§impl Hash for SimHashFingerprint
impl Hash for SimHashFingerprint
Source§impl PartialEq for SimHashFingerprint
impl PartialEq for SimHashFingerprint
Source§fn eq(&self, other: &SimHashFingerprint) -> bool
fn eq(&self, other: &SimHashFingerprint) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SimHashFingerprint
Auto Trait Implementations§
impl Freeze for SimHashFingerprint
impl RefUnwindSafe for SimHashFingerprint
impl Send for SimHashFingerprint
impl Sync for SimHashFingerprint
impl Unpin for SimHashFingerprint
impl UnsafeUnpin for SimHashFingerprint
impl UnwindSafe for SimHashFingerprint
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more