Struct rute::auto::icon_ffi::RUIconFuncs
source · #[repr(C)]pub struct RUIconFuncs {Show 24 fields
pub destroy: extern "C" fn(self_c: *const RUBase),
pub swap: extern "C" fn(self_c: *const RUBase, other: *const RUBase),
pub pixmap: extern "C" fn(self_c: *const RUBase, size: *const RUBase, mode: i32, state: i32) -> RUPixmap,
pub pixmap_2: extern "C" fn(self_c: *const RUBase, w: i32, h: i32, mode: i32, state: i32) -> RUPixmap,
pub pixmap_3: extern "C" fn(self_c: *const RUBase, extent: i32, mode: i32, state: i32) -> RUPixmap,
pub pixmap_4: extern "C" fn(self_c: *const RUBase, window: *const RUBase, size: *const RUBase, mode: i32, state: i32) -> RUPixmap,
pub actual_size: extern "C" fn(self_c: *const RUBase, size: *const RUBase, mode: i32, state: i32) -> RUSize,
pub actual_size_2: extern "C" fn(self_c: *const RUBase, window: *const RUBase, size: *const RUBase, mode: i32, state: i32) -> RUSize,
pub name: extern "C" fn(self_c: *const RUBase) -> *const c_char,
pub paint: extern "C" fn(self_c: *const RUBase, painter: *const RUBase, rect: *const RUBase, alignment: i32, mode: i32, state: i32),
pub paint_2: extern "C" fn(self_c: *const RUBase, painter: *const RUBase, x: i32, y: i32, w: i32, h: i32, alignment: i32, mode: i32, state: i32),
pub is_null: extern "C" fn(self_c: *const RUBase) -> bool,
pub is_detached: extern "C" fn(self_c: *const RUBase) -> bool,
pub detach: extern "C" fn(self_c: *const RUBase),
pub cache_key: extern "C" fn(self_c: *const RUBase) -> i64,
pub add_pixmap: extern "C" fn(self_c: *const RUBase, pixmap: *const RUBase, mode: i32, state: i32),
pub add_file: extern "C" fn(self_c: *const RUBase, file_name: *const c_char, size: *const RUBase, mode: i32, state: i32),
pub set_is_mask: extern "C" fn(self_c: *const RUBase, is_mask: bool),
pub is_mask: extern "C" fn(self_c: *const RUBase) -> bool,
pub from_theme: extern "C" fn(self_c: *const RUBase, name: *const c_char) -> RUIcon,
pub from_theme_2: extern "C" fn(self_c: *const RUBase, name: *const c_char, fallback: *const RUBase) -> RUIcon,
pub has_theme_icon: extern "C" fn(self_c: *const RUBase, name: *const c_char) -> bool,
pub theme_name: extern "C" fn(self_c: *const RUBase) -> *const c_char,
pub set_theme_name: extern "C" fn(self_c: *const RUBase, path: *const c_char),
}
Fields
destroy: extern "C" fn(self_c: *const RUBase)
swap: extern "C" fn(self_c: *const RUBase, other: *const RUBase)
pixmap: extern "C" fn(self_c: *const RUBase, size: *const RUBase, mode: i32, state: i32) -> RUPixmap
pixmap_2: extern "C" fn(self_c: *const RUBase, w: i32, h: i32, mode: i32, state: i32) -> RUPixmap
pixmap_3: extern "C" fn(self_c: *const RUBase, extent: i32, mode: i32, state: i32) -> RUPixmap
pixmap_4: extern "C" fn(self_c: *const RUBase, window: *const RUBase, size: *const RUBase, mode: i32, state: i32) -> RUPixmap
actual_size: extern "C" fn(self_c: *const RUBase, size: *const RUBase, mode: i32, state: i32) -> RUSize
actual_size_2: extern "C" fn(self_c: *const RUBase, window: *const RUBase, size: *const RUBase, mode: i32, state: i32) -> RUSize
name: extern "C" fn(self_c: *const RUBase) -> *const c_char
paint: extern "C" fn(self_c: *const RUBase, painter: *const RUBase, rect: *const RUBase, alignment: i32, mode: i32, state: i32)
paint_2: extern "C" fn(self_c: *const RUBase, painter: *const RUBase, x: i32, y: i32, w: i32, h: i32, alignment: i32, mode: i32, state: i32)
is_null: extern "C" fn(self_c: *const RUBase) -> bool
is_detached: extern "C" fn(self_c: *const RUBase) -> bool
detach: extern "C" fn(self_c: *const RUBase)
cache_key: extern "C" fn(self_c: *const RUBase) -> i64
add_pixmap: extern "C" fn(self_c: *const RUBase, pixmap: *const RUBase, mode: i32, state: i32)
add_file: extern "C" fn(self_c: *const RUBase, file_name: *const c_char, size: *const RUBase, mode: i32, state: i32)
set_is_mask: extern "C" fn(self_c: *const RUBase, is_mask: bool)
is_mask: extern "C" fn(self_c: *const RUBase) -> bool
from_theme: extern "C" fn(self_c: *const RUBase, name: *const c_char) -> RUIcon
from_theme_2: extern "C" fn(self_c: *const RUBase, name: *const c_char, fallback: *const RUBase) -> RUIcon
has_theme_icon: extern "C" fn(self_c: *const RUBase, name: *const c_char) -> bool
theme_name: extern "C" fn(self_c: *const RUBase) -> *const c_char
set_theme_name: extern "C" fn(self_c: *const RUBase, path: *const c_char)
Trait Implementations
sourceimpl Clone for RUIconFuncs
impl Clone for RUIconFuncs
sourcefn clone(&self) -> RUIconFuncs
fn clone(&self) -> RUIconFuncs
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 RUIconFuncs
Auto Trait Implementations
impl RefUnwindSafe for RUIconFuncs
impl Send for RUIconFuncs
impl Sync for RUIconFuncs
impl Unpin for RUIconFuncs
impl UnwindSafe for RUIconFuncs
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