pub(crate) struct ExternalInputs<'a> {
pub(crate) source_file: &'a Path,
pub(crate) dependencies: &'a mut DependencySet,
}Expand description
What a directive lowerer needs to touch the filesystem: the .mos file
paths resolve against, and the set that records every file it reads.
Fields§
§source_file: &'a Path§dependencies: &'a mut DependencySetAuto Trait Implementations§
impl<'a> !UnwindSafe for ExternalInputs<'a>
impl<'a> Freeze for ExternalInputs<'a>
impl<'a> RefUnwindSafe for ExternalInputs<'a>
impl<'a> Send for ExternalInputs<'a>
impl<'a> Sync for ExternalInputs<'a>
impl<'a> Unpin for ExternalInputs<'a>
impl<'a> UnsafeUnpin for ExternalInputs<'a>
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