Struct raui_core::animator::AnimatedValueProgress [−][src]
pub struct AnimatedValueProgress {
pub progress_factor: Scalar,
pub time: Scalar,
pub duration: Scalar,
}Expand description
The amount of progress made for a value in an animation
Fields
progress_factor: ScalarHow far along this animation is from 0 to 1
time: ScalarThe amount of time this animation has been running
duration: ScalarThe amount of time that this animation will run for
Trait Implementations
impl Clone for AnimatedValueProgress[src]
impl Clone for AnimatedValueProgress[src]fn clone(&self) -> AnimatedValueProgress[src]
fn clone(&self) -> AnimatedValueProgress[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]Performs copy-assignment from source. Read more
impl Debug for AnimatedValueProgress[src]
impl Debug for AnimatedValueProgress[src]impl Default for AnimatedValueProgress[src]
impl Default for AnimatedValueProgress[src]fn default() -> AnimatedValueProgress[src]
fn default() -> AnimatedValueProgress[src]Returns the “default value” for a type. Read more
impl Copy for AnimatedValueProgress[src]
Auto Trait Implementations
impl RefUnwindSafe for AnimatedValueProgress
impl Send for AnimatedValueProgress
impl Sync for AnimatedValueProgress
impl Unpin for AnimatedValueProgress
impl UnwindSafe for AnimatedValueProgress
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone, [src]
impl<T> ToOwned for T where
T: Clone, [src]type Owned = T
type Owned = TThe resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn to_owned(&self) -> T[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)[src]
pub fn clone_into(&self, target: &mut T)[src]🔬 This is a nightly-only experimental API. (toowned_clone_into)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more