pub struct AnimationInfo {
pub anim_name: String,
pub kind: AnimationInfoKind,
pub range: Range<f64>,
pub content_duration_secs: f64,
pub rate_func: fn(f64) -> f64,
pub enabled: bool,
pub children: Vec<AnimationInfo>,
}Expand description
Hierarchical runtime animation information used by preview tooling.
Fields§
§anim_name: StringConcrete evaluator or container type name.
kind: AnimationInfoKindRuntime content category.
range: Range<f64>Time range in the parent content’s local coordinates.
content_duration_secs: f64Duration of this node’s inner content before outer timing is applied.
rate_func: fn(f64) -> f64Time remapping function applied by this node.
enabled: boolWhether this node contributes values during evaluation.
children: Vec<AnimationInfo>Direct animation children in this node’s content coordinates.
Trait Implementations§
Source§impl Clone for AnimationInfo
impl Clone for AnimationInfo
Source§fn clone(&self) -> AnimationInfo
fn clone(&self) -> AnimationInfo
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 moreAuto Trait Implementations§
impl Freeze for AnimationInfo
impl RefUnwindSafe for AnimationInfo
impl Send for AnimationInfo
impl Sync for AnimationInfo
impl Unpin for AnimationInfo
impl UnsafeUnpin for AnimationInfo
impl UnwindSafe for AnimationInfo
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more§impl<T> IntoResult<T> for T
impl<T> IntoResult<T> for T
§fn into_result(self) -> Result<T, RunSystemError>
fn into_result(self) -> Result<T, RunSystemError>
Converts this type into the system output type.