enum SearchKind {
    Teddy(Searcher),
    RabinKarp,
}Variants§
Implementations§
Source§impl SearchKind
 
impl SearchKind
fn memory_usage(&self) -> usize
Trait Implementations§
Source§impl Clone for SearchKind
 
impl Clone for SearchKind
Source§fn clone(&self) -> SearchKind
 
fn clone(&self) -> SearchKind
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 moreAuto Trait Implementations§
impl Freeze for SearchKind
impl RefUnwindSafe for SearchKind
impl Send for SearchKind
impl Sync for SearchKind
impl Unpin for SearchKind
impl UnwindSafe for SearchKind
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