pub struct BuiltInAnimationPart {
pub type_: AnimationPartType,
pub function: EasingFunction,
pub c1: Option<f32>,
pub c2: Option<f32>,
pub c3: Option<f32>,
pub c4: Option<f32>,
pub n1: Option<f32>,
pub d1: Option<f32>,
}Expand description
A single built-in animation (one phase of an easing sequence).
Fields§
§type_: AnimationPartTypeThe visual effect for this animation phase.
function: EasingFunctionThe easing function that controls timing.
c1: Option<f32>§c2: Option<f32>§c3: Option<f32>§c4: Option<f32>§n1: Option<f32>§d1: Option<f32>Trait Implementations§
Source§impl Clone for BuiltInAnimationPart
impl Clone for BuiltInAnimationPart
Source§fn clone(&self) -> BuiltInAnimationPart
fn clone(&self) -> BuiltInAnimationPart
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 BuiltInAnimationPart
impl Debug for BuiltInAnimationPart
Source§impl Default for BuiltInAnimationPart
impl Default for BuiltInAnimationPart
Source§fn default() -> BuiltInAnimationPart
fn default() -> BuiltInAnimationPart
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for BuiltInAnimationPart
impl RefUnwindSafe for BuiltInAnimationPart
impl Send for BuiltInAnimationPart
impl Sync for BuiltInAnimationPart
impl Unpin for BuiltInAnimationPart
impl UnwindSafe for BuiltInAnimationPart
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