Struct oxygengine_user_interface::raui::core::animator::AnimatedValueProgress [−][src]
Expand description
The amount of progress made for a value in an animation
Fields
progress_factor: f32
How far along this animation is from 0 to 1
time: f32
The amount of time this animation has been running
duration: f32
The amount of time that this animation will run for
Trait Implementations
Returns the “default value” for a type. Read more
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> Any for T where
T: Any,
impl<T> Any for T where
T: Any,
pub fn get_type_id(&self) -> TypeId
Mutably borrows from an owned value. Read more
impl<T> TryDefault for T where
T: Default,
impl<T> TryDefault for T where
T: Default,
pub fn try_default() -> Result<T, String>
pub fn try_default() -> Result<T, String>
Tries to create the default.
fn unwrap_default() -> Self
fn unwrap_default() -> Self
Calls try_default
and panics on an error case.