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§
Sourcefn get(&self, cx: &EventContext<'_>) -> Option<Animation>
fn get(&self, cx: &EventContext<'_>) -> Option<Animation>
Returns the animation associated with the id.