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> Freeze for Filters<'a>
impl<'a> RefUnwindSafe for Filters<'a>
impl<'a> Send for Filters<'a>
impl<'a> Sync for Filters<'a>
impl<'a> Unpin for Filters<'a>
impl<'a> UnwindSafe for Filters<'a>
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