#[repr(C)]pub struct HSD_Material {
pub ambient: GXColor,
pub diffuse: GXColor,
pub specular: GXColor,
pub alpha: f32,
pub shininess: f32,
}Fields§
§ambient: GXColor§diffuse: GXColor§specular: GXColor§alpha: f32§shininess: f32Trait Implementations§
Source§impl Clone for HSD_Material
impl Clone for HSD_Material
Source§fn clone(&self) -> HSD_Material
fn clone(&self) -> HSD_Material
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for HSD_Material
impl Debug for HSD_Material
impl Copy for HSD_Material
Auto Trait Implementations§
impl Freeze for HSD_Material
impl RefUnwindSafe for HSD_Material
impl Send for HSD_Material
impl Sync for HSD_Material
impl Unpin for HSD_Material
impl UnwindSafe for HSD_Material
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more