pub struct IncludeHandler { /* private fields */ }Implementations§
Source§impl IncludeHandler
impl IncludeHandler
pub fn new( file: &Path, includes: Vec<String>, path_remapping: HashMap<PathBuf, PathBuf>, ) -> Self
pub fn search_in_includes( &mut self, relative_path: &Path, include_callback: &mut dyn FnMut(&Path) -> Option<String>, ) -> Option<(String, PathBuf)>
pub fn search_path_in_includes( &mut self, relative_path: &Path, ) -> Option<PathBuf>
pub fn search_path_in_includes_relative( &mut self, relative_path: &Path, ) -> Option<PathBuf>
pub fn get_dependencies(&self) -> &Dependencies
Auto Trait Implementations§
impl Freeze for IncludeHandler
impl RefUnwindSafe for IncludeHandler
impl Send for IncludeHandler
impl Sync for IncludeHandler
impl Unpin for IncludeHandler
impl UnwindSafe for IncludeHandler
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