pub(crate) struct ExternalInputs<'a> {
pub(crate) source_file: &'a Path,
pub(crate) reader: &'a dyn ResourceReader,
pub(crate) resources: &'a mut ResourceSnapshot,
}Expand description
Resource access for a directive, using the enclosing lowering’s snapshot.
Fields§
§source_file: &'a Path§reader: &'a dyn ResourceReader§resources: &'a mut ResourceSnapshotAuto Trait Implementations§
impl<'a> !RefUnwindSafe for ExternalInputs<'a>
impl<'a> !Send for ExternalInputs<'a>
impl<'a> !Sync for ExternalInputs<'a>
impl<'a> !UnwindSafe for ExternalInputs<'a>
impl<'a> Freeze 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