/// Common methods for all gitignore collection enums
///
/// You can also use this trait to accept any gitignore type:
///
/// ```
/// use std::path::Path;
/// use gitignores::GitIgnore;
/// fn ignored(file: impl AsRef<Path>, gitignore: impl GitIgnore) -> bool { false }
/// ```