Struct specs_sprite::Sprite[][src]

pub struct Sprite<T, I> {
    pub image: I,
    pub x: T,
    pub y: T,
    pub w: T,
    pub h: T,
    pub width: T,
    pub height: 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: Debug,
    I: Debug
[src]

Formats the value using the given formatter. Read more

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

Associated storage type for this component.

Auto Trait Implementations

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

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