Struct gol::rendering::Instance
[−]
pub struct Instance { pub translate: [f32; 2], pub colour: [f32; 4], }
Fields
translate: [f32; 2]
colour: [f32; 4]
Trait Implementations
impl Clone for Instance
fn clone(&self) -> Instance
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Copy for Instance
impl Debug for Instance
impl PartialEq for Instance
fn eq(&self, __arg_0: &Instance) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Instance) -> bool
This method tests for !=
.