pub fn serialize<S>( value: &[Animation], serializer: S) -> Result<S::Ok, S::Error> where S: Serializer,