Struct specs_sprite::Sprite [] [src]

pub struct Sprite<T, I> where
    T: 'static + Float + Send + Sync,
    I: 'static + Send + Sync
{ pub image: I, pub x: T, pub y: T, pub w: T, pub h: T, // some fields omitted }

Fields

Methods

impl<T, I> Sprite<T, I> where
    T: 'static + Float + Send + Sync,
    I: 'static + Send + Sync
[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

Trait Implementations

impl<T, I> Debug for Sprite<T, I> where
    T: 'static + Debug + Float + Send + Sync,
    I: 'static + Debug + Send + Sync
[src]

[src]

Formats the value using the given formatter.

impl<T, I> Component for Sprite<T, I> where
    T: 'static + Float + Send + Sync,
    I: 'static + Send + Sync
[src]

Associated storage type for this component.