[−][src]Struct gear_fingerprinter::Fingerprint
Fields
fingerprint: [u32; 24]
Implementations
impl Fingerprint
[src]
pub const MAX_SIMILARITY_SCORE: u32
[src]
pub fn similarity_score(self, other: Self) -> u32
[src]
Compares two fingerprints, and returns a similarity score in the range of 0 to
MAX_SIMILARITY_SCORE
, with 0 being "Not similar at all".
pub fn similarity_score_ratio(self, other: Self) -> f32
[src]
Compares two fingerprints, and returns a similarity score in the range of 0.0 to 1.0, with 0 being "not similar at all" and 1 being "extremely similar"
Trait Implementations
impl Clone for Fingerprint
[src]
fn clone(&self) -> Fingerprint
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for Fingerprint
[src]
impl Debug for Fingerprint
[src]
impl Eq for Fingerprint
[src]
impl PartialEq<Fingerprint> for Fingerprint
[src]
fn eq(&self, other: &Fingerprint) -> bool
[src]
fn ne(&self, other: &Fingerprint) -> bool
[src]
impl StructuralEq for Fingerprint
[src]
impl StructuralPartialEq for Fingerprint
[src]
Auto Trait Implementations
impl RefUnwindSafe for Fingerprint
impl Send for Fingerprint
impl Sync for Fingerprint
impl Unpin for Fingerprint
impl UnwindSafe for Fingerprint
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> 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>,