Struct vid_dup_finder_lib::NormalizedDistance
source · [−]pub struct NormalizedDistance { /* private fields */ }
Expand description
The distance between two VideoHashes, in the range 0..=1
Implementations
Trait Implementations
sourceimpl Clone for NormalizedDistance
impl Clone for NormalizedDistance
sourcefn clone(&self) -> NormalizedDistance
fn clone(&self) -> NormalizedDistance
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for NormalizedDistance
impl Debug for NormalizedDistance
sourceimpl Default for NormalizedDistance
impl Default for NormalizedDistance
sourcefn default() -> NormalizedDistance
fn default() -> NormalizedDistance
Returns the “default value” for a type. Read more
sourceimpl PartialEq<NormalizedDistance> for NormalizedDistance
impl PartialEq<NormalizedDistance> for NormalizedDistance
sourcefn eq(&self, other: &NormalizedDistance) -> bool
fn eq(&self, other: &NormalizedDistance) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &NormalizedDistance) -> bool
fn ne(&self, other: &NormalizedDistance) -> bool
This method tests for !=
.
sourceimpl PartialOrd<NormalizedDistance> for NormalizedDistance
impl PartialOrd<NormalizedDistance> for NormalizedDistance
sourcefn partial_cmp(&self, other: &NormalizedDistance) -> Option<Ordering>
fn partial_cmp(&self, other: &NormalizedDistance) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
impl StructuralPartialEq for NormalizedDistance
Auto Trait Implementations
impl RefUnwindSafe for NormalizedDistance
impl Send for NormalizedDistance
impl Sync for NormalizedDistance
impl Unpin for NormalizedDistance
impl UnwindSafe for NormalizedDistance
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> Pointable for T
impl<T> Pointable for T
sourceimpl<R, P> ReadPrimitive<R> for P where
R: Read + ReadEndian<P>,
P: Default,
impl<R, P> ReadPrimitive<R> for P where
R: Read + ReadEndian<P>,
P: Default,
sourcefn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as ReadEndian::read_from_little_endian()
.
sourcefn read_from_big_endian(read: &mut R) -> Result<Self, Error>
fn read_from_big_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as ReadEndian::read_from_big_endian()
.
sourcefn read_from_native_endian(read: &mut R) -> Result<Self, Error>
fn read_from_native_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as ReadEndian::read_from_native_endian()
.