Struct rute::auto::rute_ffi::RuteFFI

source ·
#[repr(C)]
pub struct RuteFFI {
Show 56 fields pub create_application: extern "C" fn(priv_data: *const RUBase) -> RUApplication, pub get_application: extern "C" fn(priv_data: *const RUBase) -> RUApplication, pub create_bitmap: extern "C" fn(priv_data: *const RUBase) -> RUBitmap, pub get_bitmap: extern "C" fn(priv_data: *const RUBase) -> RUBitmap, pub create_brush: extern "C" fn(priv_data: *const RUBase, callback: unsafe extern "C" fn(), host_data: *const c_void) -> RUBrush, pub create_color: extern "C" fn(priv_data: *const RUBase, callback: unsafe extern "C" fn(), host_data: *const c_void) -> RUColor, pub get_color: extern "C" fn(priv_data: *const RUBase) -> RUColor, pub create_cursor: extern "C" fn(priv_data: *const RUBase, callback: unsafe extern "C" fn(), host_data: *const c_void) -> RUCursor, pub get_cursor: extern "C" fn(priv_data: *const RUBase) -> RUCursor, pub create_font: extern "C" fn(priv_data: *const RUBase, callback: unsafe extern "C" fn(), host_data: *const c_void) -> RUFont, pub get_font: extern "C" fn(priv_data: *const RUBase) -> RUFont, pub create_gradient: extern "C" fn(priv_data: *const RUBase, callback: unsafe extern "C" fn(), host_data: *const c_void) -> RUGradient, pub create_icon: extern "C" fn(priv_data: *const RUBase, callback: unsafe extern "C" fn(), host_data: *const c_void) -> RUIcon, pub get_icon: extern "C" fn(priv_data: *const RUBase) -> RUIcon, pub create_image: extern "C" fn(priv_data: *const RUBase, callback: unsafe extern "C" fn(), host_data: *const c_void) -> RUImage, pub get_image: extern "C" fn(priv_data: *const RUBase) -> RUImage, pub create_key_sequence: extern "C" fn(priv_data: *const RUBase, callback: unsafe extern "C" fn(), host_data: *const c_void) -> RUKeySequence, pub get_key_sequence: extern "C" fn(priv_data: *const RUBase) -> RUKeySequence, pub create_line: extern "C" fn(priv_data: *const RUBase, callback: unsafe extern "C" fn(), host_data: *const c_void) -> RULine, pub create_line_f: extern "C" fn(priv_data: *const RUBase, callback: unsafe extern "C" fn(), host_data: *const c_void) -> RULineF, pub get_line_f: extern "C" fn(priv_data: *const RUBase) -> RULineF, pub create_list_widget: extern "C" fn(priv_data: *const RUBase, callback: unsafe extern "C" fn(), host_data: *const c_void) -> RUListWidget, pub create_list_widget_item: extern "C" fn(priv_data: *const RUBase, callback: unsafe extern "C" fn(), host_data: *const c_void) -> RUListWidgetItem, pub create_margins: extern "C" fn(priv_data: *const RUBase, callback: unsafe extern "C" fn(), host_data: *const c_void) -> RUMargins, pub create_matrix: extern "C" fn(priv_data: *const RUBase, callback: unsafe extern "C" fn(), host_data: *const c_void) -> RUMatrix, pub create_mime_data: extern "C" fn(priv_data: *const RUBase) -> RUMimeData, pub create_object: extern "C" fn(priv_data: *const RUBase, callback: unsafe extern "C" fn(), host_data: *const c_void) -> RUObject, pub create_paint_engine_state: extern "C" fn(priv_data: *const RUBase, callback: unsafe extern "C" fn(), host_data: *const c_void) -> RUPaintEngineState, pub create_painter: extern "C" fn(priv_data: *const RUBase, callback: unsafe extern "C" fn(), host_data: *const c_void) -> RUPainter, pub get_painter: extern "C" fn(priv_data: *const RUBase) -> RUPainter, pub create_palette: extern "C" fn(priv_data: *const RUBase, callback: unsafe extern "C" fn(), host_data: *const c_void) -> RUPalette, pub create_pen: extern "C" fn(priv_data: *const RUBase, callback: unsafe extern "C" fn(), host_data: *const c_void) -> RUPen, pub create_pixel_format: extern "C" fn(priv_data: *const RUBase, callback: unsafe extern "C" fn(), host_data: *const c_void) -> RUPixelFormat, pub create_pixmap: extern "C" fn(priv_data: *const RUBase, callback: unsafe extern "C" fn(), host_data: *const c_void) -> RUPixmap, pub get_pixmap: extern "C" fn(priv_data: *const RUBase) -> RUPixmap, pub create_point: extern "C" fn(priv_data: *const RUBase, callback: unsafe extern "C" fn(), host_data: *const c_void) -> RUPoint, pub get_point: extern "C" fn(priv_data: *const RUBase) -> RUPoint, pub create_point_f: extern "C" fn(priv_data: *const RUBase, callback: unsafe extern "C" fn(), host_data: *const c_void) -> RUPointF, pub get_point_f: extern "C" fn(priv_data: *const RUBase) -> RUPointF, pub create_polygon: extern "C" fn(priv_data: *const RUBase, callback: unsafe extern "C" fn(), host_data: *const c_void) -> RUPolygon, pub create_polygon_f: extern "C" fn(priv_data: *const RUBase, callback: unsafe extern "C" fn(), host_data: *const c_void) -> RUPolygonF, pub create_push_button: extern "C" fn(priv_data: *const RUBase, callback: unsafe extern "C" fn(), host_data: *const c_void) -> RUPushButton, pub create_rect: extern "C" fn(priv_data: *const RUBase, callback: unsafe extern "C" fn(), host_data: *const c_void) -> RURect, pub create_rect_f: extern "C" fn(priv_data: *const RUBase, callback: unsafe extern "C" fn(), host_data: *const c_void) -> RURectF, pub create_region: extern "C" fn(priv_data: *const RUBase, callback: unsafe extern "C" fn(), host_data: *const c_void) -> RURegion, pub create_size: extern "C" fn(priv_data: *const RUBase, callback: unsafe extern "C" fn(), host_data: *const c_void) -> RUSize, pub create_size_f: extern "C" fn(priv_data: *const RUBase, callback: unsafe extern "C" fn(), host_data: *const c_void) -> RUSizeF, pub create_size_policy: extern "C" fn(priv_data: *const RUBase, callback: unsafe extern "C" fn(), host_data: *const c_void) -> RUSizePolicy, pub create_surface_format: extern "C" fn(priv_data: *const RUBase, callback: unsafe extern "C" fn(), host_data: *const c_void) -> RUSurfaceFormat, pub get_surface_format: extern "C" fn(priv_data: *const RUBase) -> RUSurfaceFormat, pub create_transform: extern "C" fn(priv_data: *const RUBase, callback: unsafe extern "C" fn(), host_data: *const c_void) -> RUTransform, pub get_transform: extern "C" fn(priv_data: *const RUBase) -> RUTransform, pub create_widget: extern "C" fn(priv_data: *const RUBase, callback: unsafe extern "C" fn(), host_data: *const c_void) -> RUWidget, pub get_widget: extern "C" fn(priv_data: *const RUBase) -> RUWidget, pub create_window: extern "C" fn(priv_data: *const RUBase, callback: unsafe extern "C" fn(), host_data: *const c_void) -> RUWindow, pub get_window: extern "C" fn(priv_data: *const RUBase) -> RUWindow,
}

Fields

create_application: extern "C" fn(priv_data: *const RUBase) -> RUApplicationget_application: extern "C" fn(priv_data: *const RUBase) -> RUApplicationcreate_bitmap: extern "C" fn(priv_data: *const RUBase) -> RUBitmapget_bitmap: extern "C" fn(priv_data: *const RUBase) -> RUBitmapcreate_brush: extern "C" fn(priv_data: *const RUBase, callback: unsafe extern "C" fn(), host_data: *const c_void) -> RUBrushcreate_color: extern "C" fn(priv_data: *const RUBase, callback: unsafe extern "C" fn(), host_data: *const c_void) -> RUColorget_color: extern "C" fn(priv_data: *const RUBase) -> RUColorcreate_cursor: extern "C" fn(priv_data: *const RUBase, callback: unsafe extern "C" fn(), host_data: *const c_void) -> RUCursorget_cursor: extern "C" fn(priv_data: *const RUBase) -> RUCursorcreate_font: extern "C" fn(priv_data: *const RUBase, callback: unsafe extern "C" fn(), host_data: *const c_void) -> RUFontget_font: extern "C" fn(priv_data: *const RUBase) -> RUFontcreate_gradient: extern "C" fn(priv_data: *const RUBase, callback: unsafe extern "C" fn(), host_data: *const c_void) -> RUGradientcreate_icon: extern "C" fn(priv_data: *const RUBase, callback: unsafe extern "C" fn(), host_data: *const c_void) -> RUIconget_icon: extern "C" fn(priv_data: *const RUBase) -> RUIconcreate_image: extern "C" fn(priv_data: *const RUBase, callback: unsafe extern "C" fn(), host_data: *const c_void) -> RUImageget_image: extern "C" fn(priv_data: *const RUBase) -> RUImagecreate_key_sequence: extern "C" fn(priv_data: *const RUBase, callback: unsafe extern "C" fn(), host_data: *const c_void) -> RUKeySequenceget_key_sequence: extern "C" fn(priv_data: *const RUBase) -> RUKeySequencecreate_line: extern "C" fn(priv_data: *const RUBase, callback: unsafe extern "C" fn(), host_data: *const c_void) -> RULinecreate_line_f: extern "C" fn(priv_data: *const RUBase, callback: unsafe extern "C" fn(), host_data: *const c_void) -> RULineFget_line_f: extern "C" fn(priv_data: *const RUBase) -> RULineFcreate_list_widget: extern "C" fn(priv_data: *const RUBase, callback: unsafe extern "C" fn(), host_data: *const c_void) -> RUListWidgetcreate_list_widget_item: extern "C" fn(priv_data: *const RUBase, callback: unsafe extern "C" fn(), host_data: *const c_void) -> RUListWidgetItemcreate_margins: extern "C" fn(priv_data: *const RUBase, callback: unsafe extern "C" fn(), host_data: *const c_void) -> RUMarginscreate_matrix: extern "C" fn(priv_data: *const RUBase, callback: unsafe extern "C" fn(), host_data: *const c_void) -> RUMatrixcreate_mime_data: extern "C" fn(priv_data: *const RUBase) -> RUMimeDatacreate_object: extern "C" fn(priv_data: *const RUBase, callback: unsafe extern "C" fn(), host_data: *const c_void) -> RUObjectcreate_paint_engine_state: extern "C" fn(priv_data: *const RUBase, callback: unsafe extern "C" fn(), host_data: *const c_void) -> RUPaintEngineStatecreate_painter: extern "C" fn(priv_data: *const RUBase, callback: unsafe extern "C" fn(), host_data: *const c_void) -> RUPainterget_painter: extern "C" fn(priv_data: *const RUBase) -> RUPaintercreate_palette: extern "C" fn(priv_data: *const RUBase, callback: unsafe extern "C" fn(), host_data: *const c_void) -> RUPalettecreate_pen: extern "C" fn(priv_data: *const RUBase, callback: unsafe extern "C" fn(), host_data: *const c_void) -> RUPencreate_pixel_format: extern "C" fn(priv_data: *const RUBase, callback: unsafe extern "C" fn(), host_data: *const c_void) -> RUPixelFormatcreate_pixmap: extern "C" fn(priv_data: *const RUBase, callback: unsafe extern "C" fn(), host_data: *const c_void) -> RUPixmapget_pixmap: extern "C" fn(priv_data: *const RUBase) -> RUPixmapcreate_point: extern "C" fn(priv_data: *const RUBase, callback: unsafe extern "C" fn(), host_data: *const c_void) -> RUPointget_point: extern "C" fn(priv_data: *const RUBase) -> RUPointcreate_point_f: extern "C" fn(priv_data: *const RUBase, callback: unsafe extern "C" fn(), host_data: *const c_void) -> RUPointFget_point_f: extern "C" fn(priv_data: *const RUBase) -> RUPointFcreate_polygon: extern "C" fn(priv_data: *const RUBase, callback: unsafe extern "C" fn(), host_data: *const c_void) -> RUPolygoncreate_polygon_f: extern "C" fn(priv_data: *const RUBase, callback: unsafe extern "C" fn(), host_data: *const c_void) -> RUPolygonFcreate_push_button: extern "C" fn(priv_data: *const RUBase, callback: unsafe extern "C" fn(), host_data: *const c_void) -> RUPushButtoncreate_rect: extern "C" fn(priv_data: *const RUBase, callback: unsafe extern "C" fn(), host_data: *const c_void) -> RURectcreate_rect_f: extern "C" fn(priv_data: *const RUBase, callback: unsafe extern "C" fn(), host_data: *const c_void) -> RURectFcreate_region: extern "C" fn(priv_data: *const RUBase, callback: unsafe extern "C" fn(), host_data: *const c_void) -> RURegioncreate_size: extern "C" fn(priv_data: *const RUBase, callback: unsafe extern "C" fn(), host_data: *const c_void) -> RUSizecreate_size_f: extern "C" fn(priv_data: *const RUBase, callback: unsafe extern "C" fn(), host_data: *const c_void) -> RUSizeFcreate_size_policy: extern "C" fn(priv_data: *const RUBase, callback: unsafe extern "C" fn(), host_data: *const c_void) -> RUSizePolicycreate_surface_format: extern "C" fn(priv_data: *const RUBase, callback: unsafe extern "C" fn(), host_data: *const c_void) -> RUSurfaceFormatget_surface_format: extern "C" fn(priv_data: *const RUBase) -> RUSurfaceFormatcreate_transform: extern "C" fn(priv_data: *const RUBase, callback: unsafe extern "C" fn(), host_data: *const c_void) -> RUTransformget_transform: extern "C" fn(priv_data: *const RUBase) -> RUTransformcreate_widget: extern "C" fn(priv_data: *const RUBase, callback: unsafe extern "C" fn(), host_data: *const c_void) -> RUWidgetget_widget: extern "C" fn(priv_data: *const RUBase) -> RUWidgetcreate_window: extern "C" fn(priv_data: *const RUBase, callback: unsafe extern "C" fn(), host_data: *const c_void) -> RUWindowget_window: extern "C" fn(priv_data: *const RUBase) -> RUWindow

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.