Skip to main content

IKeyFrames

Trait IKeyFrames 

Source
pub trait IKeyFrames: Any {
    // Required methods
    fn insert_expression_key_frame(
        &mut self,
        normalized_progress_key: f32,
        value: &str,
        easing_function: Rc<dyn IEasing>,
    );
    fn as_any(&self) -> &dyn Any;
    fn as_any_mut(&mut self) -> &mut dyn Any;
}
Expand description

The key frames of a key frame animation, whatever their value type.

Required Methods§

Source

fn insert_expression_key_frame( &mut self, normalized_progress_key: f32, value: &str, easing_function: Rc<dyn IEasing>, )

Source

fn as_any(&self) -> &dyn Any

Source

fn as_any_mut(&mut self) -> &mut dyn Any

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<T: Copy + Default + 'static> IKeyFrames for KeyFrames<T>