pub struct AnimationState {
pub name: String,
pub content: StateContent,
pub speed: f32,
pub mirror: bool,
pub cyclic_offset: f32,
pub speed_curve: Option<MathFunction>,
}Fields§
§name: String§content: StateContent§speed: f32§mirror: bool§cyclic_offset: f32§speed_curve: Option<MathFunction>MathFunction modulating playback speed over normalized time.
Implementations§
Trait Implementations§
Source§impl Clone for AnimationState
impl Clone for AnimationState
Source§fn clone(&self) -> AnimationState
fn clone(&self) -> AnimationState
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 moreAuto Trait Implementations§
impl Freeze for AnimationState
impl RefUnwindSafe for AnimationState
impl Send for AnimationState
impl Sync for AnimationState
impl Unpin for AnimationState
impl UnsafeUnpin for AnimationState
impl UnwindSafe for AnimationState
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