pub struct AnimationConfig {
pub duration_ms: u32,
pub easing: String,
pub enable_slide: bool,
pub enable_merge: bool,
pub enable_spawn: bool,
}Expand description
Animation settings
Fields§
§duration_ms: u32§easing: String§enable_slide: bool§enable_merge: bool§enable_spawn: boolTrait Implementations§
Source§impl Clone for AnimationConfig
impl Clone for AnimationConfig
Source§fn clone(&self) -> AnimationConfig
fn clone(&self) -> AnimationConfig
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 AnimationConfig
impl Debug for AnimationConfig
Source§impl Default for AnimationConfig
impl Default for AnimationConfig
Source§impl<'de> Deserialize<'de> for AnimationConfig
impl<'de> Deserialize<'de> for AnimationConfig
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
Auto Trait Implementations§
impl Freeze for AnimationConfig
impl RefUnwindSafe for AnimationConfig
impl Send for AnimationConfig
impl Sync for AnimationConfig
impl Unpin for AnimationConfig
impl UnwindSafe for AnimationConfig
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