pub struct LiteralSearchQuery { /* private fields */ }Expand description
Reusable literal-search query for repeated find_next / find_prev calls.
This prebuilds forward and reverse substring searchers once, which avoids repeating that setup cost when the same needle is searched many times.
Implementations§
Trait Implementations§
Source§impl Clone for LiteralSearchQuery
impl Clone for LiteralSearchQuery
Source§fn clone(&self) -> LiteralSearchQuery
fn clone(&self) -> LiteralSearchQuery
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 LiteralSearchQuery
impl RefUnwindSafe for LiteralSearchQuery
impl Send for LiteralSearchQuery
impl Sync for LiteralSearchQuery
impl Unpin for LiteralSearchQuery
impl UnsafeUnpin for LiteralSearchQuery
impl UnwindSafe for LiteralSearchQuery
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