#[repr(i32)]pub enum TextDistance {
Hamming = 1,
Levenshtein = 2,
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for TextDistance
impl Clone for TextDistance
Source§fn clone(&self) -> TextDistance
fn clone(&self) -> TextDistance
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TextDistance
impl Debug for TextDistance
Source§impl PartialEq for TextDistance
impl PartialEq for TextDistance
impl StructuralPartialEq for TextDistance
Auto Trait Implementations§
impl Freeze for TextDistance
impl RefUnwindSafe for TextDistance
impl Send for TextDistance
impl Sync for TextDistance
impl Unpin for TextDistance
impl UnwindSafe for TextDistance
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