pub enum FilterRule {
All,
Just(Vec<String>),
}Variants§
Implementations§
Source§impl FilterRule
impl FilterRule
pub fn new(targets: Vec<String>, all: bool) -> FilterRule
pub fn none() -> FilterRule
pub fn try_collect(&self) -> Option<Vec<String>>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FilterRule
impl RefUnwindSafe for FilterRule
impl Send for FilterRule
impl Sync for FilterRule
impl Unpin for FilterRule
impl UnwindSafe for FilterRule
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