pub struct KnuthMorrisPratt<T: Eq> {
pattern: Vec<T>,
table: Vec<usize>,
}Fields§
§pattern: Vec<T>§table: Vec<usize>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for KnuthMorrisPratt<T>
impl<T> RefUnwindSafe for KnuthMorrisPratt<T>where
T: RefUnwindSafe,
impl<T> Send for KnuthMorrisPratt<T>where
T: Send,
impl<T> Sync for KnuthMorrisPratt<T>where
T: Sync,
impl<T> Unpin for KnuthMorrisPratt<T>where
T: Unpin,
impl<T> UnsafeUnpin for KnuthMorrisPratt<T>
impl<T> UnwindSafe for KnuthMorrisPratt<T>where
T: UnwindSafe,
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