Struct compiler_test_derive::ignores::Ignores
source · 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)