Struct cuivre::graphics::sprites::Sprite[][src]

pub struct Sprite<'s> {
    pub x: i32,
    pub y: i32,
    // some fields omitted
}

Represents one tile of a sprite sheet.

Fields

Methods

impl<'s> Sprite<'s>
[src]

Texture used by this sprite.

Position of the sprite on the texture as OpenGL coordinates.

Trait Implementations

impl<'s> Debug for Sprite<'s>
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl<'s> Send for Sprite<'s>

impl<'s> Sync for Sprite<'s>