pub fn has_animation(&mut self, id: I) -> bool {
        if let Some(_) = self.animations.iter().find(|a| a.0 == id) {
            true
        } else {
            false
        }
    }
/// Check if there is an animation with the given id in the set
Check if there is an animation with the given id in the set
Check if there is an animation with the given id in the set
pub fn has_animation(&mut self, id: I) -> bool {
        if let Some(_) = self.animations.iter().find(|a| a.0 == id) {
            true
        } else {
            false
        }
    }
pub fn has_animation ( & mut self , id : I ) -> bool { if let Some ( _ ) = self . animations . iter ( ) . find ( | a | a . 0 == id ) { true } else { false } }
Check if there is an animation with the given id in the set
Check if there is an animation with the given id in the set
&mut self
id
I
&mut self
id
I