pub struct ComponentMotion {
pub duration_ms: u64,
pub easing: EasingCurve,
}Fields§
§duration_ms: u64§easing: EasingCurveTrait Implementations§
Source§impl Clone for ComponentMotion
impl Clone for ComponentMotion
Source§fn clone(&self) -> ComponentMotion
fn clone(&self) -> ComponentMotion
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ComponentMotion
impl Debug for ComponentMotion
Source§impl<'de> Deserialize<'de> for ComponentMotion
impl<'de> Deserialize<'de> for ComponentMotion
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 ComponentMotion
impl PartialEq for ComponentMotion
Source§fn eq(&self, other: &ComponentMotion) -> bool
fn eq(&self, other: &ComponentMotion) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ComponentMotion
impl Serialize for ComponentMotion
impl StructuralPartialEq for ComponentMotion
Auto Trait Implementations§
impl Freeze for ComponentMotion
impl RefUnwindSafe for ComponentMotion
impl Send for ComponentMotion
impl Sync for ComponentMotion
impl Unpin for ComponentMotion
impl UnsafeUnpin for ComponentMotion
impl UnwindSafe for ComponentMotion
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