Struct citro3d_sys::C3D_Material
source · #[repr(C)]pub struct C3D_Material {
pub ambient: [f32; 3],
pub diffuse: [f32; 3],
pub specular0: [f32; 3],
pub specular1: [f32; 3],
pub emission: [f32; 3],
}
Fields§
§ambient: [f32; 3]
§diffuse: [f32; 3]
§specular0: [f32; 3]
§specular1: [f32; 3]
§emission: [f32; 3]
Trait Implementations§
source§impl Clone for C3D_Material
impl Clone for C3D_Material
source§fn clone(&self) -> C3D_Material
fn clone(&self) -> C3D_Material
Returns a copy of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more