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
src: [f32; 4]
col1: [f32; 4]
col2: [f32; 4]
col3: [f32; 4]
col4: [f32; 4]
color: [f32; 4]
Trait Implementations
impl Clone for InstanceProperties
fn clone(&self) -> InstanceProperties
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Copy for InstanceProperties
impl Debug for InstanceProperties
fn fmt(&self, __arg_0: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for InstanceProperties
fn eq(&self, __arg_0: &InstanceProperties) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &InstanceProperties) -> bool
This method tests for !=
.