#[repr(C)]
pub struct RUPixmapFuncs {
Show 40 fields pub destroy: extern "C" fn(self_c: *const RUBase), pub swap: extern "C" fn(self_c: *const RUBase, other: *const RUBase), pub is_null: extern "C" fn(self_c: *const RUBase) -> bool, pub width: extern "C" fn(self_c: *const RUBase) -> i32, pub height: extern "C" fn(self_c: *const RUBase) -> i32, pub size: extern "C" fn(self_c: *const RUBase) -> RUSize, pub rect: extern "C" fn(self_c: *const RUBase) -> RURect, pub depth: extern "C" fn(self_c: *const RUBase) -> i32, pub default_depth: extern "C" fn(self_c: *const RUBase) -> i32, pub fill: extern "C" fn(self_c: *const RUBase, fill_color: *const RUBase), pub fill_2: extern "C" fn(self_c: *const RUBase, device: *const RUBase, ofs: *const RUBase), pub fill_3: extern "C" fn(self_c: *const RUBase, device: *const RUBase, xofs: i32, yofs: i32), pub mask: extern "C" fn(self_c: *const RUBase) -> RUBitmap, pub set_mask: extern "C" fn(self_c: *const RUBase, arg0: *const RUBase), pub device_pixel_ratio: extern "C" fn(self_c: *const RUBase) -> f32, pub set_device_pixel_ratio: extern "C" fn(self_c: *const RUBase, scale_factor: f32), pub has_alpha: extern "C" fn(self_c: *const RUBase) -> bool, pub has_alpha_channel: extern "C" fn(self_c: *const RUBase) -> bool, pub create_heuristic_mask: extern "C" fn(self_c: *const RUBase, clip_tight: bool) -> RUBitmap, pub create_mask_from_color: extern "C" fn(self_c: *const RUBase, mask_color: *const RUBase, mode: u32) -> RUBitmap, pub grab_window: extern "C" fn(self_c: *const RUBase, arg0: u64, x: i32, y: i32, w: i32, h: i32) -> RUPixmap, pub grab_widget: extern "C" fn(self_c: *const RUBase, widget: *const RUBase, rect: *const RUBase) -> RUPixmap, pub grab_widget_2: extern "C" fn(self_c: *const RUBase, widget: *const RUBase, x: i32, y: i32, w: i32, h: i32) -> RUPixmap, pub scaled: extern "C" fn(self_c: *const RUBase, w: i32, h: i32, aspect_mode: u32, mode: u32) -> RUPixmap, pub scaled_2: extern "C" fn(self_c: *const RUBase, s: *const RUBase, aspect_mode: u32, mode: u32) -> RUPixmap, pub scaled_to_width: extern "C" fn(self_c: *const RUBase, w: i32, mode: u32) -> RUPixmap, pub scaled_to_height: extern "C" fn(self_c: *const RUBase, h: i32, mode: u32) -> RUPixmap, pub to_image: extern "C" fn(self_c: *const RUBase) -> RUImage, pub from_image: extern "C" fn(self_c: *const RUBase, image: *const RUBase, flags: u32) -> RUPixmap, pub from_image_2: extern "C" fn(self_c: *const RUBase, image: *const RUBase, flags: u32) -> RUPixmap, pub convert_from_image: extern "C" fn(self_c: *const RUBase, img: *const RUBase, flags: u32) -> bool, pub copy: extern "C" fn(self_c: *const RUBase, x: i32, y: i32, width: i32, height: i32) -> RUPixmap, pub copy_2: extern "C" fn(self_c: *const RUBase, rect: *const RUBase) -> RUPixmap, pub scroll: extern "C" fn(self_c: *const RUBase, dx: i32, dy: i32, x: i32, y: i32, width: i32, height: i32, exposed: *const RUBase), pub scroll_2: extern "C" fn(self_c: *const RUBase, dx: i32, dy: i32, rect: *const RUBase, exposed: *const RUBase), pub cache_key: extern "C" fn(self_c: *const RUBase) -> i64, pub is_detached: extern "C" fn(self_c: *const RUBase) -> bool, pub detach: extern "C" fn(self_c: *const RUBase), pub is_q_bitmap: extern "C" fn(self_c: *const RUBase) -> bool, pub paint_engine: extern "C" fn(self_c: *const RUBase) -> RUPaintEngine,
}

Fields

destroy: extern "C" fn(self_c: *const RUBase)swap: extern "C" fn(self_c: *const RUBase, other: *const RUBase)is_null: extern "C" fn(self_c: *const RUBase) -> boolwidth: extern "C" fn(self_c: *const RUBase) -> i32height: extern "C" fn(self_c: *const RUBase) -> i32size: extern "C" fn(self_c: *const RUBase) -> RUSizerect: extern "C" fn(self_c: *const RUBase) -> RURectdepth: extern "C" fn(self_c: *const RUBase) -> i32default_depth: extern "C" fn(self_c: *const RUBase) -> i32fill: extern "C" fn(self_c: *const RUBase, fill_color: *const RUBase)fill_2: extern "C" fn(self_c: *const RUBase, device: *const RUBase, ofs: *const RUBase)fill_3: extern "C" fn(self_c: *const RUBase, device: *const RUBase, xofs: i32, yofs: i32)mask: extern "C" fn(self_c: *const RUBase) -> RUBitmapset_mask: extern "C" fn(self_c: *const RUBase, arg0: *const RUBase)device_pixel_ratio: extern "C" fn(self_c: *const RUBase) -> f32set_device_pixel_ratio: extern "C" fn(self_c: *const RUBase, scale_factor: f32)has_alpha: extern "C" fn(self_c: *const RUBase) -> boolhas_alpha_channel: extern "C" fn(self_c: *const RUBase) -> boolcreate_heuristic_mask: extern "C" fn(self_c: *const RUBase, clip_tight: bool) -> RUBitmapcreate_mask_from_color: extern "C" fn(self_c: *const RUBase, mask_color: *const RUBase, mode: u32) -> RUBitmapgrab_window: extern "C" fn(self_c: *const RUBase, arg0: u64, x: i32, y: i32, w: i32, h: i32) -> RUPixmapgrab_widget: extern "C" fn(self_c: *const RUBase, widget: *const RUBase, rect: *const RUBase) -> RUPixmapgrab_widget_2: extern "C" fn(self_c: *const RUBase, widget: *const RUBase, x: i32, y: i32, w: i32, h: i32) -> RUPixmapscaled: extern "C" fn(self_c: *const RUBase, w: i32, h: i32, aspect_mode: u32, mode: u32) -> RUPixmapscaled_2: extern "C" fn(self_c: *const RUBase, s: *const RUBase, aspect_mode: u32, mode: u32) -> RUPixmapscaled_to_width: extern "C" fn(self_c: *const RUBase, w: i32, mode: u32) -> RUPixmapscaled_to_height: extern "C" fn(self_c: *const RUBase, h: i32, mode: u32) -> RUPixmapto_image: extern "C" fn(self_c: *const RUBase) -> RUImagefrom_image: extern "C" fn(self_c: *const RUBase, image: *const RUBase, flags: u32) -> RUPixmapfrom_image_2: extern "C" fn(self_c: *const RUBase, image: *const RUBase, flags: u32) -> RUPixmapconvert_from_image: extern "C" fn(self_c: *const RUBase, img: *const RUBase, flags: u32) -> boolcopy: extern "C" fn(self_c: *const RUBase, x: i32, y: i32, width: i32, height: i32) -> RUPixmapcopy_2: extern "C" fn(self_c: *const RUBase, rect: *const RUBase) -> RUPixmapscroll: extern "C" fn(self_c: *const RUBase, dx: i32, dy: i32, x: i32, y: i32, width: i32, height: i32, exposed: *const RUBase)scroll_2: extern "C" fn(self_c: *const RUBase, dx: i32, dy: i32, rect: *const RUBase, exposed: *const RUBase)cache_key: extern "C" fn(self_c: *const RUBase) -> i64is_detached: extern "C" fn(self_c: *const RUBase) -> booldetach: extern "C" fn(self_c: *const RUBase)is_q_bitmap: extern "C" fn(self_c: *const RUBase) -> boolpaint_engine: extern "C" fn(self_c: *const RUBase) -> RUPaintEngine

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.