Struct rute::auto::list_widget_item_ffi::RUListWidgetItemFuncs
source · #[repr(C)]pub struct RUListWidgetItemFuncs {Show 32 fields
pub destroy: extern "C" fn(self_c: *const RUBase),
pub list_widget: extern "C" fn(self_c: *const RUBase) -> RUListWidget,
pub set_selected: extern "C" fn(self_c: *const RUBase, select: bool),
pub is_selected: extern "C" fn(self_c: *const RUBase) -> bool,
pub set_hidden: extern "C" fn(self_c: *const RUBase, hide: bool),
pub is_hidden: extern "C" fn(self_c: *const RUBase) -> bool,
pub flags: extern "C" fn(self_c: *const RUBase) -> u32,
pub set_flags: extern "C" fn(self_c: *const RUBase, flags: u32),
pub text: extern "C" fn(self_c: *const RUBase) -> *const c_char,
pub set_text: extern "C" fn(self_c: *const RUBase, text: *const c_char),
pub icon: extern "C" fn(self_c: *const RUBase) -> RUIcon,
pub set_icon: extern "C" fn(self_c: *const RUBase, icon: *const RUBase),
pub status_tip: extern "C" fn(self_c: *const RUBase) -> *const c_char,
pub set_status_tip: extern "C" fn(self_c: *const RUBase, status_tip: *const c_char),
pub tool_tip: extern "C" fn(self_c: *const RUBase) -> *const c_char,
pub set_tool_tip: extern "C" fn(self_c: *const RUBase, tool_tip: *const c_char),
pub whats_this: extern "C" fn(self_c: *const RUBase) -> *const c_char,
pub set_whats_this: extern "C" fn(self_c: *const RUBase, whats_this: *const c_char),
pub font: extern "C" fn(self_c: *const RUBase) -> RUFont,
pub set_font: extern "C" fn(self_c: *const RUBase, font: *const RUBase),
pub text_alignment: extern "C" fn(self_c: *const RUBase) -> i32,
pub set_text_alignment: extern "C" fn(self_c: *const RUBase, alignment: i32),
pub background: extern "C" fn(self_c: *const RUBase) -> RUBrush,
pub set_background: extern "C" fn(self_c: *const RUBase, brush: *const RUBase),
pub text_color: extern "C" fn(self_c: *const RUBase) -> RUColor,
pub set_text_color: extern "C" fn(self_c: *const RUBase, color: *const RUBase),
pub foreground: extern "C" fn(self_c: *const RUBase) -> RUBrush,
pub set_foreground: extern "C" fn(self_c: *const RUBase, brush: *const RUBase),
pub check_state: extern "C" fn(self_c: *const RUBase) -> u32,
pub set_check_state: extern "C" fn(self_c: *const RUBase, state: u32),
pub size_hint: extern "C" fn(self_c: *const RUBase) -> RUSize,
pub set_size_hint: extern "C" fn(self_c: *const RUBase, size: *const RUBase),
}
Fields
destroy: extern "C" fn(self_c: *const RUBase)
list_widget: extern "C" fn(self_c: *const RUBase) -> RUListWidget
set_selected: extern "C" fn(self_c: *const RUBase, select: bool)
is_selected: extern "C" fn(self_c: *const RUBase) -> bool
flags: extern "C" fn(self_c: *const RUBase) -> u32
set_flags: extern "C" fn(self_c: *const RUBase, flags: u32)
text: extern "C" fn(self_c: *const RUBase) -> *const c_char
set_text: extern "C" fn(self_c: *const RUBase, text: *const c_char)
icon: extern "C" fn(self_c: *const RUBase) -> RUIcon
set_icon: extern "C" fn(self_c: *const RUBase, icon: *const RUBase)
status_tip: extern "C" fn(self_c: *const RUBase) -> *const c_char
set_status_tip: extern "C" fn(self_c: *const RUBase, status_tip: *const c_char)
tool_tip: extern "C" fn(self_c: *const RUBase) -> *const c_char
set_tool_tip: extern "C" fn(self_c: *const RUBase, tool_tip: *const c_char)
whats_this: extern "C" fn(self_c: *const RUBase) -> *const c_char
set_whats_this: extern "C" fn(self_c: *const RUBase, whats_this: *const c_char)
font: extern "C" fn(self_c: *const RUBase) -> RUFont
set_font: extern "C" fn(self_c: *const RUBase, font: *const RUBase)
text_alignment: extern "C" fn(self_c: *const RUBase) -> i32
set_text_alignment: extern "C" fn(self_c: *const RUBase, alignment: i32)
background: extern "C" fn(self_c: *const RUBase) -> RUBrush
set_background: extern "C" fn(self_c: *const RUBase, brush: *const RUBase)
text_color: extern "C" fn(self_c: *const RUBase) -> RUColor
set_text_color: extern "C" fn(self_c: *const RUBase, color: *const RUBase)
foreground: extern "C" fn(self_c: *const RUBase) -> RUBrush
set_foreground: extern "C" fn(self_c: *const RUBase, brush: *const RUBase)
check_state: extern "C" fn(self_c: *const RUBase) -> u32
set_check_state: extern "C" fn(self_c: *const RUBase, state: u32)
size_hint: extern "C" fn(self_c: *const RUBase) -> RUSize
set_size_hint: extern "C" fn(self_c: *const RUBase, size: *const RUBase)
Trait Implementations
sourceimpl Clone for RUListWidgetItemFuncs
impl Clone for RUListWidgetItemFuncs
sourcefn clone(&self) -> RUListWidgetItemFuncs
fn clone(&self) -> RUListWidgetItemFuncs
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 RUListWidgetItemFuncs
Auto Trait Implementations
impl RefUnwindSafe for RUListWidgetItemFuncs
impl Send for RUListWidgetItemFuncs
impl Sync for RUListWidgetItemFuncs
impl Unpin for RUListWidgetItemFuncs
impl UnwindSafe for RUListWidgetItemFuncs
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