Struct gol::rendering::Instance []

pub struct Instance {
    pub translate: [f32; 2],
    pub colour: [f32; 4],
}

Fields

Trait Implementations

impl Clone for Instance

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for Instance

impl Debug for Instance

Formats the value using the given formatter.

impl PartialEq for Instance

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

This method tests for !=.

impl Pod for Instance

impl Structure<Format> for Instance

Get the layout of an element by name.