Struct x11::xlib::Visual [] [src]

pub struct Visual {
    pub ext_data: *mut XExtData,
    pub visualid: VisualID,
    pub class: c_int,
    pub red_mask: c_ulong,
    pub green_mask: c_ulong,
    pub blue_mask: c_ulong,
    pub bits_per_rgb: c_int,
    pub map_entries: c_int,
}

Fields

ext_data: *mut XExtData visualid: VisualID class: c_int red_mask: c_ulong green_mask: c_ulong blue_mask: c_ulong bits_per_rgb: c_int map_entries: c_int

Trait Implementations

impl PartialEq for Visual
[src]

fn eq(&self, __arg_0: &Visual) -> bool

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, __arg_0: &Visual) -> bool

This method tests for !=.

impl Copy for Visual
[src]

impl Clone for Visual
[src]

fn clone(&self) -> Visual

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