pub struct CellInfo {
pub idx: usize,
pub duration: FrameDuration,
}Expand description
CellInfo.idx points to an index in SpriteSheetData.cells and CellInfo.duration indicates
how long this section of the texture atlas should be displayed as per an AnimationClip.
Fields§
§idx: usize§duration: FrameDurationTrait Implementations§
Auto Trait Implementations§
impl Freeze for CellInfo
impl RefUnwindSafe for CellInfo
impl Send for CellInfo
impl Sync for CellInfo
impl Unpin for CellInfo
impl UnwindSafe for CellInfo
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more