[][src]Struct winapi::shared::d3d9types::D3DLIGHT9

#[repr(C)]
pub struct D3DLIGHT9 {
    pub Type: D3DLIGHTTYPE,
    pub Diffuse: D3DCOLORVALUE,
    pub Specular: D3DCOLORVALUE,
    pub Ambient: D3DCOLORVALUE,
    pub Position: D3DVECTOR,
    pub Direction: D3DVECTOR,
    pub Range: c_float,
    pub Falloff: c_float,
    pub Attenuation0: c_float,
    pub Attenuation1: c_float,
    pub Attenuation2: c_float,
    pub Theta: c_float,
    pub Phi: c_float,
}

Fields

Type: D3DLIGHTTYPEDiffuse: D3DCOLORVALUESpecular: D3DCOLORVALUEAmbient: D3DCOLORVALUEPosition: D3DVECTORDirection: D3DVECTORRange: c_floatFalloff: c_floatAttenuation0: c_floatAttenuation1: c_floatAttenuation2: c_floatTheta: c_floatPhi: c_float

Trait Implementations

impl Copy for D3DLIGHT9[src]

impl Clone for D3DLIGHT9[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Default for D3DLIGHT9[src]

Auto Trait Implementations

impl Unpin for D3DLIGHT9

impl Send for D3DLIGHT9

impl Sync for D3DLIGHT9

Blanket Implementations

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]