pub enum TransitionKind {
Fade,
Pop {
from: f64,
},
Grow {
edge: Edge,
},
Slide {
edge: Edge,
distance: f64,
},
Move {
edge: Edge,
},
}Variants§
Fade
Fades in or out.
Pop
Grows from (or shrinks to) from of its size while fading.
Grow
Extends from zero along one axis, keeping edge fixed, without fading.
Slide
Slides from (or to) distance beyond edge while fading.
Move
Moves in from (or out to) beyond edge, its whole size away, without
fading, as a sheet comes up from the bottom of the screen.
Trait Implementations§
Source§impl Clone for TransitionKind
impl Clone for TransitionKind
Source§impl Debug for TransitionKind
impl Debug for TransitionKind
Source§impl<'de> Deserialize<'de> for TransitionKind
impl<'de> Deserialize<'de> for TransitionKind
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for TransitionKind
impl PartialEq for TransitionKind
Source§impl Serialize for TransitionKind
impl Serialize 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 UnsafeUnpin 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