Struct xcb::render::Directformat
[−]
[src]
pub struct Directformat { pub base: xcb_render_directformat_t, }
Fields
base: xcb_render_directformat_t
Methods
impl Directformat
[src]
fn new(
red_shift: u16,
red_mask: u16,
green_shift: u16,
green_mask: u16,
blue_shift: u16,
blue_mask: u16,
alpha_shift: u16,
alpha_mask: u16
) -> Directformat
red_shift: u16,
red_mask: u16,
green_shift: u16,
green_mask: u16,
blue_shift: u16,
blue_mask: u16,
alpha_shift: u16,
alpha_mask: u16
) -> Directformat
fn red_shift(&self) -> u16
fn red_mask(&self) -> u16
fn green_shift(&self) -> u16
fn green_mask(&self) -> u16
fn blue_shift(&self) -> u16
fn blue_mask(&self) -> u16
fn alpha_shift(&self) -> u16
fn alpha_mask(&self) -> u16
Trait Implementations
impl Copy for Directformat
[src]
impl Clone for Directformat
[src]
fn clone(&self) -> Directformat
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