#[repr(C)]
pub struct RUPaintEngineFuncs {
Show 25 fields pub is_active: extern "C" fn(self_c: *const RUBase) -> bool, pub set_active: extern "C" fn(self_c: *const RUBase, new_state: bool), pub begin: extern "C" fn(self_c: *const RUBase, pdev: *const RUBase) -> bool, pub end: extern "C" fn(self_c: *const RUBase) -> bool, pub update_state: extern "C" fn(self_c: *const RUBase, state: *const RUBase), pub draw_rects: extern "C" fn(self_c: *const RUBase, rects: *const RUBase, rect_count: i32), pub draw_rects_2: extern "C" fn(self_c: *const RUBase, rects: *const RUBase, rect_count: i32), pub draw_lines: extern "C" fn(self_c: *const RUBase, lines: *const RUBase, line_count: i32), pub draw_lines_2: extern "C" fn(self_c: *const RUBase, lines: *const RUBase, line_count: i32), pub draw_ellipse: extern "C" fn(self_c: *const RUBase, r: *const RUBase), pub draw_ellipse_2: extern "C" fn(self_c: *const RUBase, r: *const RUBase), pub draw_points: extern "C" fn(self_c: *const RUBase, points: *const RUBase, point_count: i32), pub draw_points_2: extern "C" fn(self_c: *const RUBase, points: *const RUBase, point_count: i32), pub draw_polygon: extern "C" fn(self_c: *const RUBase, points: *const RUBase, point_count: i32, mode: i32), pub draw_polygon_2: extern "C" fn(self_c: *const RUBase, points: *const RUBase, point_count: i32, mode: i32), pub draw_pixmap: extern "C" fn(self_c: *const RUBase, r: *const RUBase, pm: *const RUBase, sr: *const RUBase), pub draw_tiled_pixmap: extern "C" fn(self_c: *const RUBase, r: *const RUBase, pixmap: *const RUBase, s: *const RUBase), pub draw_image: extern "C" fn(self_c: *const RUBase, r: *const RUBase, pm: *const RUBase, sr: *const RUBase, flags: i32), pub set_paint_device: extern "C" fn(self_c: *const RUBase, device: *const RUBase), pub paint_device: extern "C" fn(self_c: *const RUBase) -> RUPaintDevice, pub set_system_clip: extern "C" fn(self_c: *const RUBase, base_clip: *const RUBase), pub system_clip: extern "C" fn(self_c: *const RUBase) -> RURegion, pub set_system_rect: extern "C" fn(self_c: *const RUBase, rect: *const RUBase), pub system_rect: extern "C" fn(self_c: *const RUBase) -> RURect, pub coordinate_offset: extern "C" fn(self_c: *const RUBase) -> RUPoint,
}

Fields

is_active: extern "C" fn(self_c: *const RUBase) -> boolset_active: extern "C" fn(self_c: *const RUBase, new_state: bool)begin: extern "C" fn(self_c: *const RUBase, pdev: *const RUBase) -> boolend: extern "C" fn(self_c: *const RUBase) -> boolupdate_state: extern "C" fn(self_c: *const RUBase, state: *const RUBase)draw_rects: extern "C" fn(self_c: *const RUBase, rects: *const RUBase, rect_count: i32)draw_rects_2: extern "C" fn(self_c: *const RUBase, rects: *const RUBase, rect_count: i32)draw_lines: extern "C" fn(self_c: *const RUBase, lines: *const RUBase, line_count: i32)draw_lines_2: extern "C" fn(self_c: *const RUBase, lines: *const RUBase, line_count: i32)draw_ellipse: extern "C" fn(self_c: *const RUBase, r: *const RUBase)draw_ellipse_2: extern "C" fn(self_c: *const RUBase, r: *const RUBase)draw_points: extern "C" fn(self_c: *const RUBase, points: *const RUBase, point_count: i32)draw_points_2: extern "C" fn(self_c: *const RUBase, points: *const RUBase, point_count: i32)draw_polygon: extern "C" fn(self_c: *const RUBase, points: *const RUBase, point_count: i32, mode: i32)draw_polygon_2: extern "C" fn(self_c: *const RUBase, points: *const RUBase, point_count: i32, mode: i32)draw_pixmap: extern "C" fn(self_c: *const RUBase, r: *const RUBase, pm: *const RUBase, sr: *const RUBase)draw_tiled_pixmap: extern "C" fn(self_c: *const RUBase, r: *const RUBase, pixmap: *const RUBase, s: *const RUBase)draw_image: extern "C" fn(self_c: *const RUBase, r: *const RUBase, pm: *const RUBase, sr: *const RUBase, flags: i32)set_paint_device: extern "C" fn(self_c: *const RUBase, device: *const RUBase)paint_device: extern "C" fn(self_c: *const RUBase) -> RUPaintDeviceset_system_clip: extern "C" fn(self_c: *const RUBase, base_clip: *const RUBase)system_clip: extern "C" fn(self_c: *const RUBase) -> RURegionset_system_rect: extern "C" fn(self_c: *const RUBase, rect: *const RUBase)system_rect: extern "C" fn(self_c: *const RUBase) -> RURectcoordinate_offset: extern "C" fn(self_c: *const RUBase) -> RUPoint

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.