Trait AnimId

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§

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

Returns the animation associated with the id.

Implementations on Foreign Types§

§

impl AnimId for &'static str

§

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

Implementors§