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
impl Clone for InstanceProperties
fn clone(&self) -> InstanceProperties
fn clone(&self) -> InstanceProperties
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Copy for InstanceProperties
impl Copy for InstanceProperties
impl Debug for InstanceProperties
impl Debug for InstanceProperties
impl PartialEq for InstanceProperties
impl PartialEq for InstanceProperties
fn eq(&self, other: &InstanceProperties) -> bool
fn eq(&self, other: &InstanceProperties) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &InstanceProperties) -> bool
fn ne(&self, other: &InstanceProperties) -> bool
This method tests for !=
.
impl Pod for InstanceProperties
impl Pod for InstanceProperties
impl Structure<Format> for InstanceProperties
impl Structure<Format> for InstanceProperties
impl Default for InstanceProperties
[src]
impl Default for InstanceProperties
impl From<DrawParam> for InstanceProperties
[src]
impl From<DrawParam> for InstanceProperties
Auto Trait Implementations
impl Send for InstanceProperties
impl Send for InstanceProperties
impl Sync for InstanceProperties
impl Sync for InstanceProperties