Struct ScreenRenderBackgroundEvent
pub struct ScreenRenderBackgroundEvent<'a> {
pub draw: &'a mut dyn DrawContext,
pub screen: &'a ScreenView<'a>,
}Expand description
What Hooks::screen_render_background is told. Each field is that hook’s argument of the same name, described in the hook’s doc.
Fields§
§draw: &'a mut dyn DrawContext§screen: &'a ScreenView<'a>Auto Trait Implementations§
impl<'a> !RefUnwindSafe for ScreenRenderBackgroundEvent<'a>
impl<'a> !Send for ScreenRenderBackgroundEvent<'a>
impl<'a> !Sync for ScreenRenderBackgroundEvent<'a>
impl<'a> !UnwindSafe for ScreenRenderBackgroundEvent<'a>
impl<'a> Freeze for ScreenRenderBackgroundEvent<'a>
impl<'a> Unpin for ScreenRenderBackgroundEvent<'a>
impl<'a> UnsafeUnpin for ScreenRenderBackgroundEvent<'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