pub struct Ignores {
patterns: Vec<IgnorePattern>,
}
Fields§
§patterns: Vec<IgnorePattern>
The canonical path, and the set of features
Implementations§
Source§impl Ignores
impl Ignores
Sourcepub fn should_ignore(
&self,
os: &str,
arch: &str,
target_env: &str,
engine: &str,
compiler: &str,
canonical_path: &str,
) -> bool
pub fn should_ignore( &self, os: &str, arch: &str, target_env: &str, engine: &str, compiler: &str, canonical_path: &str, ) -> bool
If the path matches any of the paths on the list
pub fn should_ignore_host( &self, engine: &str, compiler: &str, canonical_path: &str, ) -> bool
Sourcepub fn build_from_path(path: PathBuf) -> Ignores
pub fn build_from_path(path: PathBuf) -> Ignores
Build a Ignore structure from a file path
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Ignores
impl RefUnwindSafe for Ignores
impl Send for Ignores
impl Sync for Ignores
impl Unpin for Ignores
impl UnwindSafe for Ignores
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