pub struct FindOptions {
pub case_sensitive: bool,
pub whole_word: bool,
pub use_regex: bool,
}Expand description
Options for find/replace operations
Fields§
§case_sensitive: boolCase-sensitive search
whole_word: boolMatch whole words only
use_regex: boolUse regex pattern
Trait Implementations§
Source§impl Clone for FindOptions
impl Clone for FindOptions
Source§fn clone(&self) -> FindOptions
fn clone(&self) -> FindOptions
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 moreSource§impl Debug for FindOptions
impl Debug for FindOptions
Source§impl Default for FindOptions
impl Default for FindOptions
Source§fn default() -> FindOptions
fn default() -> FindOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for FindOptions
impl RefUnwindSafe for FindOptions
impl Send for FindOptions
impl Sync for FindOptions
impl Unpin for FindOptions
impl UnsafeUnpin for FindOptions
impl UnwindSafe for FindOptions
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