pub struct PathLoader { /* private fields */ }Expand description
A loader over the filesystem, with a search list for #include.
A quoted include resolves against the including file’s own directory
first, which is what every C preprocessor does and what an IDL author
expects when they write #include "common.idl" next to their file.
Only then does the search list apply. Getting that order wrong makes
a file compile against a header from somewhere else, and the two are
indistinguishable in the output.
Implementations§
Source§impl PathLoader
impl PathLoader
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for PathLoader
impl !RefUnwindSafe for PathLoader
impl !Sync for PathLoader
impl Send for PathLoader
impl Unpin for PathLoader
impl UnsafeUnpin for PathLoader
impl UnwindSafe for PathLoader
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