pub struct ReferenceContext<'a> {
pub assets: &'a dyn AssetIndex,
pub folders: &'a dyn FolderIndex,
pub urls: &'a dyn UrlIndex,
}Expand description
Index handles a classify call needs. Bundled so the signature stays small and a future index can be added without re-touching every caller.
Fields§
§assets: &'a dyn AssetIndex§folders: &'a dyn FolderIndex§urls: &'a dyn UrlIndexLink arm only; the build supplies a graph-backed impl in sub-project #4. For unit #1+#2 a Link result is classify-only and this may be a no-op.
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for ReferenceContext<'a>
impl<'a> !Send for ReferenceContext<'a>
impl<'a> !Sync for ReferenceContext<'a>
impl<'a> !UnwindSafe for ReferenceContext<'a>
impl<'a> Freeze for ReferenceContext<'a>
impl<'a> Unpin for ReferenceContext<'a>
impl<'a> UnsafeUnpin for ReferenceContext<'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