Struct vnc::PixelFormat [] [src]

pub struct PixelFormat {
    pub bits_per_pixel: u8,
    pub depth: u8,
    pub big_endian: bool,
    pub true_colour: bool,
    pub red_max: u16,
    pub green_max: u16,
    pub blue_max: u16,
    pub red_shift: u8,
    pub green_shift: u8,
    pub blue_shift: u8,
}

Fields

bits_per_pixel: u8 depth: u8 big_endian: bool true_colour: bool red_max: u16 green_max: u16 blue_max: u16 red_shift: u8 green_shift: u8 blue_shift: u8

Trait Implementations

impl Clone for PixelFormat
[src]

fn clone(&self) -> PixelFormat

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

impl Debug for PixelFormat
[src]

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

Formats the value using the given formatter.