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

Trait Implementations

impl Debug for PixelFormat
[src]

Formats the value using the given formatter.

impl Clone for PixelFormat
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for PixelFormat
[src]

impl PartialEq for PixelFormat
[src]

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

This method tests for !=.

impl Eq for PixelFormat
[src]