#[repr(C)]pub struct D3DMATERIAL9 {
pub Diffuse: D3DCOLORVALUE,
pub Ambient: D3DCOLORVALUE,
pub Specular: D3DCOLORVALUE,
pub Emissive: D3DCOLORVALUE,
pub Power: c_float,
}
Fields§
§Diffuse: D3DCOLORVALUE
§Ambient: D3DCOLORVALUE
§Specular: D3DCOLORVALUE
§Emissive: D3DCOLORVALUE
§Power: c_float
Trait Implementations§
Source§impl Clone for D3DMATERIAL9
impl Clone for D3DMATERIAL9
Source§fn clone(&self) -> D3DMATERIAL9
fn clone(&self) -> D3DMATERIAL9
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 Default for D3DMATERIAL9
impl Default for D3DMATERIAL9
Source§fn default() -> D3DMATERIAL9
fn default() -> D3DMATERIAL9
Returns the “default value” for a type. Read more
impl Copy 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