pub enum AnimationAction {
List,
Scrub,
Sample,
}Expand description
Action for the compound animation tool (motion introspection / scrubbing).
Variants§
List
List running CSS animations/transitions with timing, easing, and keyframes.
Scrub
Deterministically pause + seek the target’s animation to N points, returning the geometry curve and (optionally) a contact-sheet filmstrip.
Sample
Real-time motion + jank recorder. record=true arms a rAF watcher;
record=false reads back the measured curve and dropped-frame stats.
Trait Implementations§
Source§impl Clone for AnimationAction
impl Clone for AnimationAction
Source§fn clone(&self) -> AnimationAction
fn clone(&self) -> AnimationAction
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AnimationAction
impl Debug for AnimationAction
Source§impl<'de> Deserialize<'de> for AnimationAction
impl<'de> Deserialize<'de> for AnimationAction
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for AnimationAction
impl Display for AnimationAction
Source§impl JsonSchema for AnimationAction
impl JsonSchema for AnimationAction
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for AnimationAction
impl PartialEq for AnimationAction
Source§fn eq(&self, other: &AnimationAction) -> bool
fn eq(&self, other: &AnimationAction) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for AnimationAction
impl Serialize for AnimationAction
impl Copy for AnimationAction
impl Eq for AnimationAction
impl StructuralPartialEq for AnimationAction
Auto Trait Implementations§
impl Freeze for AnimationAction
impl RefUnwindSafe for AnimationAction
impl Send for AnimationAction
impl Sync for AnimationAction
impl Unpin for AnimationAction
impl UnsafeUnpin for AnimationAction
impl UnwindSafe for AnimationAction
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