pub struct OverlayContext<'a> {
pub file_set: &'a FileSet,
}Expand description
Borrowed slice of app state that overlays need at refresh time. Kept narrow so the trait doesn’t pull in the whole app.
Fields§
§file_set: &'a FileSetAuto Trait Implementations§
impl<'a> Freeze for OverlayContext<'a>
impl<'a> RefUnwindSafe for OverlayContext<'a>
impl<'a> Send for OverlayContext<'a>
impl<'a> Sync for OverlayContext<'a>
impl<'a> Unpin for OverlayContext<'a>
impl<'a> UnsafeUnpin for OverlayContext<'a>
impl<'a> UnwindSafe for OverlayContext<'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