Struct components::animation::AnimationController
source · [−]pub struct AnimationController {Show 13 fields
pub animation_behavior: AnimationBehavior,
pub duration: Option<Duration>,
pub is_animating: bool,
pub is_completed: bool,
pub is_dismissed: bool,
pub last_elapsed_duration: Option<Duration>,
pub lower_bound: f32,
pub reverse_duration: Option<Duration>,
pub status: AnimationStatus,
pub upper_bound: f32,
pub value: f32,
pub velocity: f32,
pub view: Animation<f32>,
}Fields
animation_behavior: AnimationBehaviorduration: Option<Duration>is_animating: boolis_completed: boolis_dismissed: boollast_elapsed_duration: Option<Duration>lower_bound: f32reverse_duration: Option<Duration>status: AnimationStatusupper_bound: f32value: f32velocity: f32view: Animation<f32>Auto Trait Implementations
impl RefUnwindSafe for AnimationController
impl Send for AnimationController
impl Sync for AnimationController
impl Unpin for AnimationController
impl UnwindSafe for AnimationController
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<'a, T, C, M> Inspect<'a, C, &'a C, M> for T
impl<'a, T, C, M> Inspect<'a, C, &'a C, M> for T
impl<'a, T, C, M> Inspect<'a, C, &'a mut C, M> for T
impl<'a, T, C, M> Inspect<'a, C, &'a mut C, M> for T
impl<Fr, To> IntoColor<To> for Fr where
To: FromColor<Fr>,
impl<Fr, To> IntoColor<To> for Fr where
To: FromColor<Fr>,
fn into_color(self) -> To
fn into_color(self) -> To
Convert into color
impl<T> Pointable for T
impl<T> Pointable for T
impl<T> SetParameter for T
impl<T> SetParameter for T
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
T: Parameter<Self>,
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
T: Parameter<Self>,
Sets value as a parameter of self.