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
red_size: u8
green_size: u8
blue_size: u8
alpha_size: u8
accum_red_size: u8
accum_green_size: u8
accum_blue_size: u8
accum_alpha_size: u8
Methods
impl RgbFormat
[src]
fn satisfies(&self, spec: &RgbFormat) -> bool
fn total_bits(&self) -> u32
Trait Implementations
impl Clone for RgbFormat
[src]
fn clone(&self) -> RgbFormat
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