pub struct Similarity(/* private fields */);Implementations§
Trait Implementations§
Source§impl Clone for Similarity
impl Clone for Similarity
Source§fn clone(&self) -> Similarity
fn clone(&self) -> Similarity
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 Similarity
Source§impl Debug for Similarity
impl Debug for Similarity
impl Eq for Similarity
Source§impl Ord for Similarity
impl Ord for Similarity
Source§fn cmp(&self, other: &Similarity) -> Ordering
fn cmp(&self, other: &Similarity) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for Similarity
impl PartialEq for Similarity
Source§impl PartialOrd for Similarity
impl PartialOrd for Similarity
impl StructuralPartialEq for Similarity
Auto Trait Implementations§
impl Freeze for Similarity
impl RefUnwindSafe for Similarity
impl Send for Similarity
impl Sync for Similarity
impl Unpin for Similarity
impl UnsafeUnpin for Similarity
impl UnwindSafe for Similarity
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