Struct x11::xlib::ImageFns [] [src]

pub struct ImageFns {
    pub create_image: Option<unsafe extern fn(*mut Display, *mut Visual, c_uint, c_int, c_int, *mut c_char, c_uint, c_uint, c_int, c_int) -> *mut XImage>,
    pub destroy_image: Option<unsafe extern fn(*mut XImage) -> c_int>,
    pub get_pixel: Option<unsafe extern fn(*mut XImage, c_int, c_int) -> c_ulong>,
    pub put_pixel: Option<unsafe extern fn(*mut XImage, c_int, c_int, c_ulong) -> c_int>,
    pub sub_image: Option<unsafe extern fn(*mut XImage, c_int, c_int, c_uint, c_uint) -> *mut XImage>,
    pub add_pixel: Option<unsafe extern fn(&mut XImage, c_long) -> c_int>,
}

Fields

create_image: Option<unsafe extern fn(*mut Display, *mut Visual, c_uint, c_int, c_int, *mut c_char, c_uint, c_uint, c_int, c_int) -> *mut XImage> destroy_image: Option<unsafe extern fn(*mut XImage) -> c_int> get_pixel: Option<unsafe extern fn(*mut XImage, c_int, c_int) -> c_ulong> put_pixel: Option<unsafe extern fn(*mut XImage, c_int, c_int, c_ulong) -> c_int> sub_image: Option<unsafe extern fn(*mut XImage, c_int, c_int, c_uint, c_uint) -> *mut XImage> add_pixel: Option<unsafe extern fn(&mut XImage, c_long) -> c_int>

Trait Implementations

impl Copy for ImageFns
[src]

impl Clone for ImageFns
[src]

fn clone(&self) -> ImageFns

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

impl PartialEq for ImageFns
[src]

fn eq(&self, rhs: &ImageFns) -> bool

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

fn ne(&self, other: &Rhs) -> bool
1.0.0

This method tests for !=.