@@ -14,7 +14,7 @@ use crate::{
1414/// Same as [CacheFrame] but with `animation_repetition`
1515#[ derive( Debug , Clone , Reflect ) ]
1616#[ reflect( Debug ) ]
17- pub struct IteratorFrame {
17+ pub ( crate ) struct IteratorFrame {
1818 pub atlas_index : usize ,
1919 pub duration : Duration ,
2020 pub clip_id : ClipId ,
@@ -28,7 +28,7 @@ pub struct IteratorFrame {
2828/// The animation will promote them to regular AnimationEvents and add the information available at its level.
2929#[ derive( Debug , Clone , PartialEq , Eq , Hash , Reflect ) ]
3030#[ reflect( Debug , PartialEq , Hash ) ]
31- pub enum AnimationIteratorEvent {
31+ pub ( crate ) enum AnimationIteratorEvent {
3232 MarkerHit {
3333 marker_id : AnimationMarkerId ,
3434 animation_repetition : usize ,
@@ -52,7 +52,7 @@ pub enum AnimationIteratorEvent {
5252/// An iterator that advances an animation frame by frame.
5353///
5454/// `next()` will produce frames until the end of the animation.
55- pub struct AnimationIterator {
55+ pub ( crate ) struct AnimationIterator {
5656 /// Reference to the animation cache that contains all the frames for one repetition of the animation
5757 cache : Arc < AnimationCache > ,
5858
0 commit comments