pub enum MotionKind {
Fade,
Rise,
Slide,
Scale,
}Expand description
What an entrance or exit moves.
Variants§
Fade
Opacity alone.
Rise
A slide up.
Slide
A slide toward direction.
Scale
A change of size about the node’s own anchor.
Trait Implementations§
Source§impl Clone for MotionKind
impl Clone for MotionKind
impl Copy for MotionKind
Source§impl Debug for MotionKind
impl Debug for MotionKind
Source§impl<'de> Deserialize<'de> for MotionKind
impl<'de> Deserialize<'de> for MotionKind
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
impl Eq for MotionKind
Source§impl PartialEq for MotionKind
impl PartialEq for MotionKind
Source§impl Serialize for MotionKind
impl Serialize for MotionKind
impl StructuralPartialEq for MotionKind
Auto Trait Implementations§
impl Freeze for MotionKind
impl RefUnwindSafe for MotionKind
impl Send for MotionKind
impl Sync for MotionKind
impl Unpin for MotionKind
impl UnsafeUnpin for MotionKind
impl UnwindSafe for MotionKind
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