pub struct SearchItem {
pub needle: String,
pub prefixes: Option<Vec<String>>,
pub pre_word_boundary: bool,
pub post_word_boundary: bool,
}
Fields§
§needle: String
§prefixes: Option<Vec<String>>
§pre_word_boundary: bool
§post_word_boundary: bool
Trait Implementations§
Source§impl Clone for SearchItem
impl Clone for SearchItem
Source§fn clone(&self) -> SearchItem
fn clone(&self) -> SearchItem
Returns a copy 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 DeBin for SearchItem
impl DeBin for SearchItem
Source§impl Debug for SearchItem
impl Debug for SearchItem
Auto Trait Implementations§
impl Freeze for SearchItem
impl RefUnwindSafe for SearchItem
impl Send for SearchItem
impl Sync for SearchItem
impl Unpin for SearchItem
impl UnwindSafe for SearchItem
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