#[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 duplicate 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 moreSource§impl Debug for C3D_Material
impl Debug for C3D_Material
impl Copy for C3D_Material
Auto Trait Implementations§
impl Freeze for C3D_Material
impl RefUnwindSafe for C3D_Material
impl Send for C3D_Material
impl Sync for C3D_Material
impl Unpin for C3D_Material
impl UnwindSafe for C3D_Material
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)