pub struct MatchOptions { case_sensitive: bool, require_literal_separator: bool, require_literal_leading_dot: bool, }
Configuration options to modify the behaviour of Pattern::matches_with(..)
impl MatchOptions
fn new() -> MatchOptions
Constructs a new MatchOptions
with default field values. This is used
when calling functions that do not take an explicit MatchOptions
parameter.
This function always returns this value:
MatchOptions {
case_sensitive: true,
require_literal_separator: false.
require_literal_leading_dot: false
}
impl std::clone::Clone for MatchOptions
fn clone(&self) -> MatchOptions
impl std::cmp::Eq for MatchOptions
fn eq(&self, __arg_0: &MatchOptions) -> bool
fn ne(&self, __arg_0: &MatchOptions) -> bool
impl std::cmp::TotalEq for MatchOptions
fn equals(&self, __arg_0: &MatchOptions) -> bool
impl std::cmp::Ord for MatchOptions
fn lt(&self, __arg_0: &MatchOptions) -> bool
fn le(&self, __arg_0: &MatchOptions) -> bool
fn gt(&self, __arg_0: &MatchOptions) -> bool
fn ge(&self, __arg_0: &MatchOptions) -> bool
impl std::cmp::TotalOrd for MatchOptions
fn cmp(&self, __arg_0: &MatchOptions) -> std::cmp::Ordering
impl std::to_bytes::IterBytes for MatchOptions
fn iter_bytes(&self, __arg_0: bool, __arg_1: std::to_bytes::Cb) -> bool
impl std::default::Default for MatchOptions
fn default() -> MatchOptions
Prefix searches with a type followed by a colon (e.g.
fn:
) to restrict the search to a given type.
Accepted types are: fn
, mod
,
struct
(or str
), enum
,
trait
, typedef
(or
tdef
).