pub fn filter<F: FnMut(&str) -> Result<String>>(
        &self,
        mut canonicalize: F,
    ) -> Result<Filter> {
        Filter::new(
            self.value_of_lossy("include").map(|s| s.to_string()),
            self.value_of_lossy("exclude").map(|s| s.to_string()),
            |name| canonicalize(name),
        )
    }
/// Create a new include/exclude filter command line arguments.
///
/// The given canonicalization function is applied to each element in
/// each of the include/exclude lists provided by the end user.
Create a new include/exclude filter command line arguments.
The given canonicalization function is applied to each element in
each of the include/exclude lists provided by the end user.
Create a new include / exclude filter command line arguments . The given canonicalization function is applied to each element in each of the include / exclude lists provided by the end user .
pub fn filter<F: FnMut(&str) -> Result<String>>(
        &self,
        mut canonicalize: F,
    ) -> Result<Filter> {
        Filter::new(
            self.value_of_lossy("include").map(|s| s.to_string()),
            self.value_of_lossy("exclude").map(|s| s.to_string()),
            |name| canonicalize(name),
        )
    }
pub fn filter < F : FnMut ( & str ) -> Result < String > > ( & self , mut canonicalize : F , ) -> Result < Filter > { Filter :: new ( self . value_of_lossy ( " " ) . map ( | s | s . to_string ( ) ) , self . value_of_lossy ( " " ) . map ( | s | s . to_string ( ) ) , | name | canonicalize ( name ) , ) }
Create a new include/exclude filter command line arguments.
Create a new include / exclude filter command line arguments .
&self
canonicalize
F
&self
canonicalize
F