pub enum TransitionPhase {
Idle,
Covering,
Covered,
Revealing,
}Expand description
What a ScreenTransition is doing.
Variants§
Idle
Nothing covers the screen.
Covering
Coverage rising toward 1.
Covered
Fully covered; swap scenes, then call ScreenTransition::reveal.
Revealing
Coverage falling toward 0.
Trait Implementations§
Source§impl Clone for TransitionPhase
impl Clone for TransitionPhase
Source§fn clone(&self) -> TransitionPhase
fn clone(&self) -> TransitionPhase
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TransitionPhase
impl Debug for TransitionPhase
Source§impl Default for TransitionPhase
impl Default for TransitionPhase
Source§fn default() -> TransitionPhase
fn default() -> TransitionPhase
Returns the “default value” for a type. Read more
Source§impl Hash for TransitionPhase
impl Hash for TransitionPhase
Source§impl PartialEq for TransitionPhase
impl PartialEq for TransitionPhase
impl Copy for TransitionPhase
impl Eq for TransitionPhase
impl StructuralPartialEq for TransitionPhase
Auto Trait Implementations§
impl Freeze for TransitionPhase
impl RefUnwindSafe for TransitionPhase
impl Send for TransitionPhase
impl Sync for TransitionPhase
impl Unpin for TransitionPhase
impl UnwindSafe for TransitionPhase
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