Struct omn_sprites::CellInfo
[−]
[src]
pub struct CellInfo { pub idx: usize, pub duration: FrameDuration, }
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: FrameDuration
Trait Implementations
impl Debug for CellInfo
[src]
impl Clone for CellInfo
[src]
fn clone(&self) -> CellInfo
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more