Struct dgl::RgbFormat [] [src]

pub struct RgbFormat {
    pub red_size: u8,
    pub green_size: u8,
    pub blue_size: u8,
    pub alpha_size: u8,
    pub accum_red_size: u8,
    pub accum_green_size: u8,
    pub accum_blue_size: u8,
    pub accum_alpha_size: u8,
}

RGB pixel format description.

Fields

Methods

impl RgbFormat
[src]

Trait Implementations

impl Clone for RgbFormat
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for RgbFormat
[src]

impl Debug for RgbFormat
[src]

Formats the value using the given formatter.

impl Default for RgbFormat
[src]

Returns the "default value" for a type. Read more

impl Eq for RgbFormat
[src]

impl PartialEq for RgbFormat
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.