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