pub struct SelectorMatcherOptions {
pub exact: Option<bool>,
pub trim: Option<bool>,
pub collapse_whitespace: Option<bool>,
pub normalizer: Option<Rc<NormalizerFn>>,
pub suggest: Option<bool>,
pub selector: Option<String>,
pub ignore: Option<Ignore>,
}
Fields§
§exact: Option<bool>
§trim: Option<bool>
§collapse_whitespace: Option<bool>
§normalizer: Option<Rc<NormalizerFn>>
§suggest: Option<bool>
§selector: Option<String>
§ignore: Option<Ignore>
Implementations§
Source§impl SelectorMatcherOptions
impl SelectorMatcherOptions
pub fn exact(self, value: bool) -> Self
pub fn trim(self, value: bool) -> Self
pub fn collapse_whitespace(self, value: bool) -> Self
pub fn normalizer(self, value: Rc<NormalizerFn>) -> Self
pub fn suggest(self, value: bool) -> Self
pub fn selector(self, value: String) -> Self
pub fn ignore(self, value: Ignore) -> Self
Trait Implementations§
Source§impl Clone for SelectorMatcherOptions
impl Clone for SelectorMatcherOptions
Source§fn clone(&self) -> SelectorMatcherOptions
fn clone(&self) -> SelectorMatcherOptions
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 Default for SelectorMatcherOptions
impl Default for SelectorMatcherOptions
Source§fn default() -> SelectorMatcherOptions
fn default() -> SelectorMatcherOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SelectorMatcherOptions
impl !RefUnwindSafe for SelectorMatcherOptions
impl !Send for SelectorMatcherOptions
impl !Sync for SelectorMatcherOptions
impl Unpin for SelectorMatcherOptions
impl !UnwindSafe for SelectorMatcherOptions
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