pub struct Dir {
pub path: PathBuf,
pub is_system: bool,
}Expand description
One directory on the search path.
Fields§
§path: PathBufThe directory, as the user spelled it. Not canonicalised, because a diagnostic that
says ../include/foo.h is more use than one naming a path the user never typed.
is_system: boolWhether headers found here are system headers, which suppresses warnings in them and
sets the 3 flag on a -E line marker.
Trait Implementations§
impl Eq for Dir
impl StructuralPartialEq for Dir
Auto Trait Implementations§
impl Freeze for Dir
impl RefUnwindSafe for Dir
impl Send for Dir
impl Sync for Dir
impl Unpin for Dir
impl UnsafeUnpin for Dir
impl UnwindSafe for Dir
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