Struct rute::auto::style_ffi::RUStyleFuncs
source · #[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) -> RURect
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)
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) -> RUPalette
proxy: extern "C" fn(self_c: *const RUBase) -> RUStyle
Trait Implementations
sourceimpl Clone for RUStyleFuncs
impl Clone for RUStyleFuncs
sourcefn clone(&self) -> RUStyleFuncs
fn clone(&self) -> RUStyleFuncs
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl Copy for RUStyleFuncs
Auto Trait Implementations
impl RefUnwindSafe for RUStyleFuncs
impl Send for RUStyleFuncs
impl Sync for RUStyleFuncs
impl Unpin for RUStyleFuncs
impl UnwindSafe for RUStyleFuncs
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more