Struct D3DMATERIAL9
#[repr(C)]pub struct D3DMATERIAL9 {
pub Diffuse: D3DCOLORVALUE,
pub Ambient: D3DCOLORVALUE,
pub Specular: D3DCOLORVALUE,
pub Emissive: D3DCOLORVALUE,
pub Power: f32,
}
Fields§
§Diffuse: D3DCOLORVALUE
§Ambient: D3DCOLORVALUE
§Specular: D3DCOLORVALUE
§Emissive: D3DCOLORVALUE
§Power: f32
Trait Implementations§
§impl Clone for D3DMATERIAL9
impl Clone for D3DMATERIAL9
§fn clone(&self) -> D3DMATERIAL9
fn clone(&self) -> D3DMATERIAL9
Returns a copy 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 more§impl Debug for D3DMATERIAL9
impl Debug for D3DMATERIAL9
§impl Default for D3DMATERIAL9
impl Default for D3DMATERIAL9
§impl PartialEq for D3DMATERIAL9
impl PartialEq for D3DMATERIAL9
impl Copy for D3DMATERIAL9
impl StructuralPartialEq for D3DMATERIAL9
Auto Trait Implementations§
impl Freeze for D3DMATERIAL9
impl RefUnwindSafe for D3DMATERIAL9
impl Send for D3DMATERIAL9
impl Sync for D3DMATERIAL9
impl Unpin for D3DMATERIAL9
impl UnwindSafe for D3DMATERIAL9
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