Struct ggez::graphics::InstanceProperties []

pub struct InstanceProperties {
    pub src: [f32; 4],
    pub col1: [f32; 4],
    pub col2: [f32; 4],
    pub col3: [f32; 4],
    pub col4: [f32; 4],
    pub color: [f32; 4],
}

Internal structure containing values that are different for each drawable object.

Fields

Trait Implementations

impl Clone for InstanceProperties

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for InstanceProperties

impl Debug for InstanceProperties

Formats the value using the given formatter. Read more

impl PartialEq for InstanceProperties

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Pod for InstanceProperties

impl Structure<Format> for InstanceProperties

Get the layout of an element by name.

impl Default for InstanceProperties
[src]

[src]

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

impl From<DrawParam> for InstanceProperties
[src]

[src]

Performs the conversion.

Auto Trait Implementations