Enum fm::filter::FilterKind
source · Expand description
Different kinds of filters. By extension, by name, only the directory or all files.
Variants§
Implementations§
source§impl FilterKind
impl FilterKind
sourcepub fn from_input(input: &str) -> Self
pub fn from_input(input: &str) -> Self
Parse the input string into a filter.
It shouldn’t fail but use a Filter::All if the string isn’t parsable;
Trait Implementations§
source§impl Clone for FilterKind
impl Clone for FilterKind
source§fn clone(&self) -> FilterKind
fn clone(&self) -> FilterKind
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more