#[repr(C)]
pub struct RUStyleFuncs { pub polish: extern "C" fn(self_c: *const RUBase, widget: *const RUBase), pub unpolish: extern "C" fn(self_c: *const RUBase, widget: *const RUBase), pub polish_2: extern "C" fn(self_c: *const RUBase, application: *const RUBase), pub unpolish_2: extern "C" fn(self_c: *const RUBase, application: *const RUBase), pub polish_3: extern "C" fn(self_c: *const RUBase, palette: *const RUBase), pub item_pixmap_rect: extern "C" fn(self_c: *const RUBase, r: *const RUBase, flags: i32, pixmap: *const RUBase) -> RURect, pub draw_item_text: extern "C" fn(self_c: *const RUBase, painter: *const RUBase, rect: *const RUBase, flags: i32, pal: *const RUBase, enabled: bool, text: *const c_char, text_role: u32), pub draw_item_pixmap: extern "C" fn(self_c: *const RUBase, painter: *const RUBase, rect: *const RUBase, alignment: i32, pixmap: *const RUBase), pub standard_palette: extern "C" fn(self_c: *const RUBase) -> RUPalette, pub proxy: extern "C" fn(self_c: *const RUBase) -> RUStyle, }

Fields

polish: extern "C" fn(self_c: *const RUBase, widget: *const RUBase)unpolish: extern "C" fn(self_c: *const RUBase, widget: *const RUBase)polish_2: extern "C" fn(self_c: *const RUBase, application: *const RUBase)unpolish_2: extern "C" fn(self_c: *const RUBase, application: *const RUBase)polish_3: extern "C" fn(self_c: *const RUBase, palette: *const RUBase)item_pixmap_rect: extern "C" fn(self_c: *const RUBase, r: *const RUBase, flags: i32, pixmap: *const RUBase) -> RURectdraw_item_text: extern "C" fn(self_c: *const RUBase, painter: *const RUBase, rect: *const RUBase, flags: i32, pal: *const RUBase, enabled: bool, text: *const c_char, text_role: u32)draw_item_pixmap: extern "C" fn(self_c: *const RUBase, painter: *const RUBase, rect: *const RUBase, alignment: i32, pixmap: *const RUBase)standard_palette: extern "C" fn(self_c: *const RUBase) -> RUPaletteproxy: extern "C" fn(self_c: *const RUBase) -> RUStyle

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.