vizia_core::animation

Trait AnimId

Source
pub trait AnimId {
    // Required method
    fn get(&self, cx: &EventContext<'_>) -> Option<Animation>;
}
Expand description

Trait for getting the animation id From an Animation or an animation name.

Required Methods§

Source

fn get(&self, cx: &EventContext<'_>) -> Option<Animation>

Returns the animation associated with the id.

Implementations on Foreign Types§

Source§

impl AnimId for &'static str

Source§

fn get(&self, cx: &EventContext<'_>) -> Option<Animation>

Implementors§