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

pub struct Sprite {
    pub position: Vector2i,
    // some fields omitted
}

Represents part of a sprite sheet drawn on a quad.

Fields

Methods

impl Sprite
[src]

Create a new sprite from a sprite sheet and a position

Trait Implementations

impl Copy for Sprite
[src]

impl Clone for Sprite
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Sprite
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for Sprite

impl Sync for Sprite