Struct argparsnip::Filters [−][src]
pub struct Filters<'a> { pub filter_type: FilterType, pub filters: Vec<Filter<'a>>, pub inverse: bool, }
Expand description
Collection of filters used to constrain the combinations of arguments that can be matched. For example, to say we cannot get both args A && B, or we can only be passed C if we’ve also been passed D.
Fields
filter_type: FilterType
filters: Vec<Filter<'a>>
inverse: bool
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for Filters<'a>
impl<'a> UnwindSafe for Filters<'a>