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