pub struct AnimationData {
pub from: CssProperty,
pub to: CssProperty,
pub start: Instant,
pub duration: Duration,
pub repeat: AnimationRepeat,
pub interpolate: AnimationInterpolationFunction,
pub relayout_on_finish: bool,
pub parent_rect_width: f32,
pub parent_rect_height: f32,
pub current_rect_width: f32,
pub current_rect_height: f32,
pub get_system_time_fn: GetSystemTimeCallback,
}Fields§
§from: CssProperty§to: CssProperty§start: Instant§duration: Duration§repeat: AnimationRepeat§interpolate: AnimationInterpolationFunction§relayout_on_finish: bool§parent_rect_width: f32§parent_rect_height: f32§current_rect_width: f32§current_rect_height: f32§get_system_time_fn: GetSystemTimeCallbackTrait Implementations§
Source§impl Clone for AnimationData
impl Clone for AnimationData
Source§fn clone(&self) -> AnimationData
fn clone(&self) -> AnimationData
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 AnimationData
impl Debug for AnimationData
Source§impl PartialEq for AnimationData
impl PartialEq for AnimationData
impl StructuralPartialEq for AnimationData
Auto Trait Implementations§
impl Freeze for AnimationData
impl RefUnwindSafe for AnimationData
impl Send for AnimationData
impl Sync for AnimationData
impl Unpin for AnimationData
impl UnwindSafe for AnimationData
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more