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

pub struct ImageFns {
    pub create_image: Option<unsafe  extern "C" 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 "C" fn(*mut XImage) -> c_int>,
    pub get_pixel: Option<unsafe  extern "C" fn(*mut XImage, c_int, c_int) -> c_ulong>,
    pub put_pixel: Option<unsafe  extern "C" fn(*mut XImage, c_int, c_int, c_ulong) -> c_int>,
    pub sub_image: Option<unsafe  extern "C" fn(*mut XImage, c_int, c_int, c_uint, c_uint) -> *mut XImage>,
    pub add_pixel: Option<unsafe  extern "C" fn(&mut XImage, c_long) -> c_int>,
}

Fields

create_image
destroy_image
get_pixel
put_pixel
sub_image
add_pixel

Trait Implementations

impl Clone for ImageFns

fn clone(&self) -> ImageFns

fn clone_from(&mut self, source: &Self)

impl PartialEq for ImageFns

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

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

Derived Implementations

impl Copy for ImageFns