pub struct ComposedAnimation {
pub animation: AnimationReference,
pub start_offset: f32,
pub end_offset: f32,
pub properties: Option<AnimationProperties>,
}Expand description
Composed animation reference
Fields§
§animation: AnimationReferenceAnimation name or custom keyframe
start_offset: f32Start offset (0.0 to 1.0)
end_offset: f32End offset (0.0 to 1.0)
properties: Option<AnimationProperties>Animation properties override
Trait Implementations§
Source§impl Clone for ComposedAnimation
impl Clone for ComposedAnimation
Source§fn clone(&self) -> ComposedAnimation
fn clone(&self) -> ComposedAnimation
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 ComposedAnimation
impl Debug for ComposedAnimation
Source§impl<'de> Deserialize<'de> for ComposedAnimation
impl<'de> Deserialize<'de> for ComposedAnimation
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 ComposedAnimation
impl PartialEq for ComposedAnimation
Source§impl Serialize for ComposedAnimation
impl Serialize for ComposedAnimation
impl StructuralPartialEq for ComposedAnimation
Auto Trait Implementations§
impl Freeze for ComposedAnimation
impl RefUnwindSafe for ComposedAnimation
impl Send for ComposedAnimation
impl Sync for ComposedAnimation
impl Unpin for ComposedAnimation
impl UnwindSafe for ComposedAnimation
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