pub enum FadePhase {
None,
ToBlack {
started_at: f32,
next: AssetId,
},
FromBlack {
started_at: f32,
},
}Expand description
A scene transition’s fade phase.
Variants§
None
No transition in flight.
ToBlack
Fading the composited image toward black; next is the scene to activate mid-fade.
Fields
FromBlack
New scene is active; fading the composited image back from black.
Auto Trait Implementations§
impl Freeze for FadePhase
impl RefUnwindSafe for FadePhase
impl Send for FadePhase
impl Sync for FadePhase
impl Unpin for FadePhase
impl UnsafeUnpin for FadePhase
impl UnwindSafe for FadePhase
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