Struct windows::Win32::Graphics::Direct3D9::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
§fn eq(&self, other: &D3DMATERIAL9) -> bool
fn eq(&self, other: &D3DMATERIAL9) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)