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 Debug for PixelFormat[src]
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 Copy for PixelFormat[src]
impl PartialEq for PixelFormat[src]
fn eq(&self, __arg_0: &PixelFormat) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &PixelFormat) -> bool
This method tests for !=.