pub enum Entry {
Dir(PathBuf),
WorkingDir,
Bundled,
System(PathBuf),
}Expand description
One place a search looks, in the order it looks.
A Resolved records the entry it was found under so that an
#include_next written inside it can go on from the entry after that
one, which is the whole of GCC’s semantics for the directive.
Variants§
Dir(PathBuf)
A configured directory: #pragma cinrs include_path,
crate::Options::include_paths or ENV_VAR.
WorkingDir
The working directory, which only a quoted name that is itself a path is looked for in; see the module docs.
Bundled
The bundled headers.
System(PathBuf)
One of the platform’s own directories.
Trait Implementations§
impl Eq for Entry
impl StructuralPartialEq for Entry
Auto Trait Implementations§
impl Freeze for Entry
impl RefUnwindSafe for Entry
impl Send for Entry
impl Sync for Entry
impl Unpin for Entry
impl UnsafeUnpin for Entry
impl UnwindSafe for Entry
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