Struct winapi::d3d11::D3D11_VIDEO_COLOR [] [src]

pub struct D3D11_VIDEO_COLOR {
    pub u: [c_float; 4],
}

Fields

u: [c_float; 4]

Methods

impl D3D11_VIDEO_COLOR
[src]

unsafe fn YCbCr(&self) -> &D3D11_VIDEO_COLOR_YCbCrA

unsafe fn YCbCr_mut(&mut self) -> &mut D3D11_VIDEO_COLOR_YCbCrA

impl D3D11_VIDEO_COLOR
[src]

unsafe fn RGBA(&self) -> &D3D11_VIDEO_COLOR_RGBA

unsafe fn RGBA_mut(&mut self) -> &mut D3D11_VIDEO_COLOR_RGBA

Trait Implementations

impl Debug for D3D11_VIDEO_COLOR
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Copy for D3D11_VIDEO_COLOR
[src]

impl Clone for D3D11_VIDEO_COLOR
[src]

fn clone(&self) -> D3D11_VIDEO_COLOR

Returns a copy of the value. Read more

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

Performs copy-assignment from source. Read more