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