Struct xcb::xproto::Visualtype
[−]
[src]
pub struct Visualtype { pub base: xcb_visualtype_t, }
Fields
base: xcb_visualtype_t
Methods
impl Visualtype
[src]
fn new(
visual_id: Visualid,
class: u8,
bits_per_rgb_value: u8,
colormap_entries: u16,
red_mask: u32,
green_mask: u32,
blue_mask: u32
) -> Visualtype
visual_id: Visualid,
class: u8,
bits_per_rgb_value: u8,
colormap_entries: u16,
red_mask: u32,
green_mask: u32,
blue_mask: u32
) -> Visualtype
fn visual_id(&self) -> Visualid
fn class(&self) -> u8
fn bits_per_rgb_value(&self) -> u8
fn colormap_entries(&self) -> u16
fn red_mask(&self) -> u32
fn green_mask(&self) -> u32
fn blue_mask(&self) -> u32
Trait Implementations
impl Copy for Visualtype
[src]
impl Clone for Visualtype
[src]
fn clone(&self) -> Visualtype
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