Struct x11::xlib::XImage [] [src]

pub struct XImage {
    pub width: c_int,
    pub height: c_int,
    pub xoffset: c_int,
    pub format: c_int,
    pub data: *mut c_char,
    pub byte_order: c_int,
    pub bitmap_unit: c_int,
    pub bitmap_bit_order: c_int,
    pub bitmap_pad: c_int,
    pub depth: c_int,
    pub bytes_per_line: c_int,
    pub bits_per_pixel: c_int,
    pub red_mask: c_ulong,
    pub green_mask: c_ulong,
    pub blue_mask: c_ulong,
    pub obdata: XPointer,
    pub funcs: ImageFns,
}

Fields

width: c_int height: c_int xoffset: c_int format: c_int data: *mut c_char byte_order: c_int bitmap_unit: c_int bitmap_bit_order: c_int bitmap_pad: c_int depth: c_int bytes_per_line: c_int bits_per_pixel: c_int red_mask: c_ulong green_mask: c_ulong blue_mask: c_ulong obdata: XPointer funcs: ImageFns

Trait Implementations

impl PartialEq for XImage
[src]

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

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

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

This method tests for !=.

impl Copy for XImage
[src]

impl Clone for XImage
[src]

fn clone(&self) -> XImage

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