Lines Matching defs:MatchOptions

44 //! use glob::MatchOptions;
46 //! let options = MatchOptions {
98 options: MatchOptions,
110 /// `glob_with(pattern, MatchOptions::new())`. Use `glob_with` directly if you
161 glob_with(pattern, MatchOptions::new())
177 pub fn glob_with(pattern: &str, options: MatchOptions) -> Result<Paths, PatternError> {
681 /// match options (i.e. `MatchOptions::new()`).
693 self.matches_with(str, MatchOptions::new())
697 /// `Pattern` using the default match options (i.e. `MatchOptions::new()`).
705 pub fn matches_with(&self, str: &str, options: MatchOptions) -> bool {
711 pub fn matches_path_with(&self, path: &Path, options: MatchOptions) -> bool {
727 options: MatchOptions,
816 options: MatchOptions,
883 // `MatchOptions` field `require_literal_leading_dot` is not
922 fn in_char_specifiers(specifiers: &[CharSpecifier], c: char, options: MatchOptions) -> bool {
974 pub struct MatchOptions {
994 impl MatchOptions {
995 /// Constructs a new `MatchOptions` with default field values. This is used
996 /// when calling functions that do not take an explicit `MatchOptions`
1002 /// MatchOptions {
1024 use super::{glob, MatchOptions, Pattern};
1214 let options = MatchOptions {
1216 ..MatchOptions::new()
1271 let options = MatchOptions {
1288 let options_case_insensitive = MatchOptions {
1293 let options_case_sensitive = MatchOptions {
1310 let options_require_literal = MatchOptions {
1315 let options_not_require_literal = MatchOptions {
1350 let options_require_literal_leading_dot = MatchOptions {
1355 let options_not_require_literal_leading_dot = MatchOptions {