Struct raui_core::animator::AnimatorState [−][src]
pub struct AnimatorState { /* fields omitted */ }
Expand description
The state of a single animation in a component
This is most often accessed though AnimatorStates
in the WidgetContext
.
Implementations
Returns whether or not the animations is in-progress
Get the current progress of the animation of a given value
This will return None
if the value is not currently being animated.
Same as value_progress_factor
but returning default
instead of None
Same as value_progress_factor
but returning 0
instead of None
Trait Implementations
Returns the “default value” for a type. Read more
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for AnimatorState
impl Send for AnimatorState
impl Sync for AnimatorState
impl Unpin for AnimatorState
impl UnwindSafe for AnimatorState
Blanket Implementations
Mutably borrows from an owned value. Read more