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

Trait Implementations

impl Debug for CellInfo
[src]

Formats the value using the given formatter.

impl Clone for CellInfo
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more