Struct ggez::graphics::RectProperties []

pub struct RectProperties {
    pub src: [f32; 4],
    pub dest: [f32; 2],
    pub scale: [f32; 2],
    pub offset: [f32; 2],
    pub shear: [f32; 2],
    pub rotation: f32,
}

Internal structure containing values that are different for each rect.

Fields

Trait Implementations

impl Clone for RectProperties

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for RectProperties

impl Debug for RectProperties

Formats the value using the given formatter.

impl Pod for RectProperties

impl Structure<ConstFormat> for RectProperties

Get the layout of an element by name.

impl Default for RectProperties
[src]

Returns the "default value" for a type. Read more

impl From<DrawParam> for RectProperties
[src]

Performs the conversion.