pub struct Matching5Cache<'a, KEY>where
KEY: MatchingKey5,{ /* private fields */ }
Implementations§
Source§impl<'a, KEY: MatchingKey5> Matching5Cache<'a, KEY>
impl<'a, KEY: MatchingKey5> Matching5Cache<'a, KEY>
pub fn new( source: &'a [KEY::ElementType], max_distance: usize, purge_limit: usize, ) -> Self
Trait Implementations§
Auto Trait Implementations§
impl<'a, KEY> Freeze for Matching5Cache<'a, KEY>where
KEY: Freeze,
impl<'a, KEY> RefUnwindSafe for Matching5Cache<'a, KEY>where
KEY: RefUnwindSafe,
<KEY as MatchingKey5>::ElementType: RefUnwindSafe,
<KEY as MatchingKey5>::KeyType: RefUnwindSafe,
impl<'a, KEY> Send for Matching5Cache<'a, KEY>
impl<'a, KEY> Sync for Matching5Cache<'a, KEY>
impl<'a, KEY> Unpin for Matching5Cache<'a, KEY>where
KEY: Unpin,
impl<'a, KEY> UnwindSafe for Matching5Cache<'a, KEY>where
KEY: UnwindSafe,
<KEY as MatchingKey5>::KeyType: RefUnwindSafe,
<KEY as MatchingKey5>::ElementType: RefUnwindSafe,
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