Struct xcb::xproto::Coloritem
[−]
[src]
pub struct Coloritem { pub base: xcb_coloritem_t, }
Fields
base: xcb_coloritem_t
Methods
impl Coloritem
[src]
fn new(pixel: u32, red: u16, green: u16, blue: u16, flags: u8) -> Coloritem
fn pixel(&self) -> u32
fn red(&self) -> u16
fn green(&self) -> u16
fn blue(&self) -> u16
fn flags(&self) -> u8
Trait Implementations
impl Copy for Coloritem
[src]
impl Clone for Coloritem
[src]
fn clone(&self) -> Coloritem
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