Struct xcb::xproto::Format
[−]
[src]
pub struct Format {
pub base: xcb_format_t,
}Fields
base: xcb_format_t
Methods
impl Format[src]
fn new(depth: u8, bits_per_pixel: u8, scanline_pad: u8) -> Format
fn depth(&self) -> u8
fn bits_per_pixel(&self) -> u8
fn scanline_pad(&self) -> u8
Trait Implementations
impl Copy for Format[src]
impl Clone for Format[src]
fn clone(&self) -> Format
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