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]

Trait Implementations

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

Formats the value using the given formatter. Read more

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.

Auto Trait Implementations

impl<T, I> Send for Sprite<T, I>

impl<T, I> Sync for Sprite<T, I>