Struct extra::glob::MatchOptions

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(..)

Methods

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
}

Trait Implementations

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