[][src]Struct keeshond::renderer::DrawSpriteInfo

pub struct DrawSpriteInfo {
    pub sheet_id: DataId,
    pub shader_id: DataId,
    pub x: f32,
    pub y: f32,
    pub angle: f32,
    pub scale_x: f32,
    pub scale_y: f32,
    pub slice: SliceId,
    pub transform: DrawTransform,
    pub r: f32,
    pub g: f32,
    pub b: f32,
    pub alpha: f32,
}

Information on how to draw a sprite

Fields

sheet_id: DataIdshader_id: DataIdx: f32y: f32angle: f32scale_x: f32scale_y: f32slice: SliceIdtransform: DrawTransformr: f32g: f32b: f32alpha: f32

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Downcast for T where
    T: Any
[src]

impl<T> DowncastSync for T where
    T: Send + Sync + Any
[src]

impl<T> Erased for T

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T[src]

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.