dioxus_lib::prelude

Trait HasTransitionData

source
pub trait HasTransitionData: Any {
    // Required methods
    fn property_name(&self) -> String;
    fn pseudo_element(&self) -> String;
    fn elapsed_time(&self) -> f32;
    fn as_any(&self) -> &(dyn Any + 'static);
}

Required Methods§

source

fn property_name(&self) -> String

source

fn pseudo_element(&self) -> String

source

fn elapsed_time(&self) -> f32

source

fn as_any(&self) -> &(dyn Any + 'static)

return self as Any

Implementors§