pub enum TransitionKind {
Fade,
Wipe {
direction: f32,
},
Iris,
}Expand description
Visual style of a ScreenTransition. Drawing lives in the renderer
(ferravex_render::ui::kit::draw_screen_transition).
Variants§
Fade
Uniform fade to a color.
Wipe
A soft-edged band sweeping across the screen in direction
(radians, 0 = left to right, Y down).
Iris
A closing circle around a focus point.
Trait Implementations§
Source§impl Clone for TransitionKind
impl Clone for TransitionKind
Source§fn clone(&self) -> TransitionKind
fn clone(&self) -> TransitionKind
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 TransitionKind
impl Debug for TransitionKind
Source§impl Default for TransitionKind
impl Default for TransitionKind
Source§fn default() -> TransitionKind
fn default() -> TransitionKind
Returns the “default value” for a type. Read more
Source§impl PartialEq for TransitionKind
impl PartialEq for TransitionKind
impl Copy for TransitionKind
impl StructuralPartialEq for TransitionKind
Auto Trait Implementations§
impl Freeze for TransitionKind
impl RefUnwindSafe for TransitionKind
impl Send for TransitionKind
impl Sync for TransitionKind
impl Unpin for TransitionKind
impl UnwindSafe for TransitionKind
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