pub trait PackExt: Pack { // Provided method fn filter(&mut self, f: impl Fn(&str) -> bool + Send + Sync) -> impl Pack where Self: Sized { ... } }
The pack trait extension.
Filter the package files to read by a function.