Struct x11::xlib::Depth [] [src]

pub struct Depth {
    pub depth: c_int,
    pub nvisuals: c_int,
    pub visuals: *mut Visual,
}

Fields

depth: c_int nvisuals: c_int visuals: *mut Visual

Trait Implementations

impl PartialEq for Depth
[src]

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

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

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

This method tests for !=.

impl Copy for Depth
[src]

impl Clone for Depth
[src]

fn clone(&self) -> Depth

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