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