Struct rute::auto::palette_ffi::RUPaletteFuncs
source · #[repr(C)]pub struct RUPaletteFuncs {Show 41 fields
pub destroy: extern "C" fn(self_c: *const RUBase),
pub swap: extern "C" fn(self_c: *const RUBase, other: *const RUBase),
pub current_color_group: extern "C" fn(self_c: *const RUBase) -> u32,
pub set_current_color_group: extern "C" fn(self_c: *const RUBase, cg: u32),
pub color: extern "C" fn(self_c: *const RUBase, cg: u32, cr: u32) -> RUColor,
pub brush: extern "C" fn(self_c: *const RUBase, cg: u32, cr: u32) -> RUBrush,
pub set_color: extern "C" fn(self_c: *const RUBase, cg: u32, cr: u32, color: *const RUBase),
pub set_color_2: extern "C" fn(self_c: *const RUBase, cr: u32, color: *const RUBase),
pub set_brush: extern "C" fn(self_c: *const RUBase, cr: u32, brush: *const RUBase),
pub is_brush_set: extern "C" fn(self_c: *const RUBase, cg: u32, cr: u32) -> bool,
pub set_brush_2: extern "C" fn(self_c: *const RUBase, cg: u32, cr: u32, brush: *const RUBase),
pub set_color_group: extern "C" fn(self_c: *const RUBase, cr: u32, window_text: *const RUBase, button: *const RUBase, light: *const RUBase, dark: *const RUBase, mid: *const RUBase, text: *const RUBase, bright_text: *const RUBase, base: *const RUBase, window: *const RUBase),
pub is_equal: extern "C" fn(self_c: *const RUBase, cr1: u32, cr2: u32) -> bool,
pub color_2: extern "C" fn(self_c: *const RUBase, cr: u32) -> RUColor,
pub brush_2: extern "C" fn(self_c: *const RUBase, cr: u32) -> RUBrush,
pub foreground: extern "C" fn(self_c: *const RUBase) -> RUBrush,
pub window_text: extern "C" fn(self_c: *const RUBase) -> RUBrush,
pub button: extern "C" fn(self_c: *const RUBase) -> RUBrush,
pub light: extern "C" fn(self_c: *const RUBase) -> RUBrush,
pub dark: extern "C" fn(self_c: *const RUBase) -> RUBrush,
pub mid: extern "C" fn(self_c: *const RUBase) -> RUBrush,
pub text: extern "C" fn(self_c: *const RUBase) -> RUBrush,
pub base: extern "C" fn(self_c: *const RUBase) -> RUBrush,
pub alternate_base: extern "C" fn(self_c: *const RUBase) -> RUBrush,
pub tool_tip_base: extern "C" fn(self_c: *const RUBase) -> RUBrush,
pub tool_tip_text: extern "C" fn(self_c: *const RUBase) -> RUBrush,
pub background: extern "C" fn(self_c: *const RUBase) -> RUBrush,
pub window: extern "C" fn(self_c: *const RUBase) -> RUBrush,
pub midlight: extern "C" fn(self_c: *const RUBase) -> RUBrush,
pub bright_text: extern "C" fn(self_c: *const RUBase) -> RUBrush,
pub button_text: extern "C" fn(self_c: *const RUBase) -> RUBrush,
pub shadow: extern "C" fn(self_c: *const RUBase) -> RUBrush,
pub highlight: extern "C" fn(self_c: *const RUBase) -> RUBrush,
pub highlighted_text: extern "C" fn(self_c: *const RUBase) -> RUBrush,
pub link: extern "C" fn(self_c: *const RUBase) -> RUBrush,
pub link_visited: extern "C" fn(self_c: *const RUBase) -> RUBrush,
pub is_copy_of: extern "C" fn(self_c: *const RUBase, p: *const RUBase) -> bool,
pub cache_key: extern "C" fn(self_c: *const RUBase) -> i64,
pub resolve: extern "C" fn(self_c: *const RUBase, arg0: *const RUBase) -> RUPalette,
pub resolve_2: extern "C" fn(self_c: *const RUBase) -> u32,
pub resolve_3: extern "C" fn(self_c: *const RUBase, mask: u32),
}
Fields
destroy: extern "C" fn(self_c: *const RUBase)
swap: extern "C" fn(self_c: *const RUBase, other: *const RUBase)
current_color_group: extern "C" fn(self_c: *const RUBase) -> u32
set_current_color_group: extern "C" fn(self_c: *const RUBase, cg: u32)
color: extern "C" fn(self_c: *const RUBase, cg: u32, cr: u32) -> RUColor
brush: extern "C" fn(self_c: *const RUBase, cg: u32, cr: u32) -> RUBrush
set_color: extern "C" fn(self_c: *const RUBase, cg: u32, cr: u32, color: *const RUBase)
set_color_2: extern "C" fn(self_c: *const RUBase, cr: u32, color: *const RUBase)
set_brush: extern "C" fn(self_c: *const RUBase, cr: u32, brush: *const RUBase)
is_brush_set: extern "C" fn(self_c: *const RUBase, cg: u32, cr: u32) -> bool
set_brush_2: extern "C" fn(self_c: *const RUBase, cg: u32, cr: u32, brush: *const RUBase)
set_color_group: extern "C" fn(self_c: *const RUBase, cr: u32, window_text: *const RUBase, button: *const RUBase, light: *const RUBase, dark: *const RUBase, mid: *const RUBase, text: *const RUBase, bright_text: *const RUBase, base: *const RUBase, window: *const RUBase)
is_equal: extern "C" fn(self_c: *const RUBase, cr1: u32, cr2: u32) -> bool
color_2: extern "C" fn(self_c: *const RUBase, cr: u32) -> RUColor
brush_2: extern "C" fn(self_c: *const RUBase, cr: u32) -> RUBrush
foreground: extern "C" fn(self_c: *const RUBase) -> RUBrush
window_text: extern "C" fn(self_c: *const RUBase) -> RUBrush
light: extern "C" fn(self_c: *const RUBase) -> RUBrush
dark: extern "C" fn(self_c: *const RUBase) -> RUBrush
mid: extern "C" fn(self_c: *const RUBase) -> RUBrush
text: extern "C" fn(self_c: *const RUBase) -> RUBrush
base: extern "C" fn(self_c: *const RUBase) -> RUBrush
alternate_base: extern "C" fn(self_c: *const RUBase) -> RUBrush
tool_tip_base: extern "C" fn(self_c: *const RUBase) -> RUBrush
tool_tip_text: extern "C" fn(self_c: *const RUBase) -> RUBrush
background: extern "C" fn(self_c: *const RUBase) -> RUBrush
window: extern "C" fn(self_c: *const RUBase) -> RUBrush
midlight: extern "C" fn(self_c: *const RUBase) -> RUBrush
bright_text: extern "C" fn(self_c: *const RUBase) -> RUBrush
shadow: extern "C" fn(self_c: *const RUBase) -> RUBrush
highlight: extern "C" fn(self_c: *const RUBase) -> RUBrush
highlighted_text: extern "C" fn(self_c: *const RUBase) -> RUBrush
link: extern "C" fn(self_c: *const RUBase) -> RUBrush
link_visited: extern "C" fn(self_c: *const RUBase) -> RUBrush
is_copy_of: extern "C" fn(self_c: *const RUBase, p: *const RUBase) -> bool
cache_key: extern "C" fn(self_c: *const RUBase) -> i64
resolve: extern "C" fn(self_c: *const RUBase, arg0: *const RUBase) -> RUPalette
resolve_2: extern "C" fn(self_c: *const RUBase) -> u32
resolve_3: extern "C" fn(self_c: *const RUBase, mask: u32)
Trait Implementations
sourceimpl Clone for RUPaletteFuncs
impl Clone for RUPaletteFuncs
sourcefn clone(&self) -> RUPaletteFuncs
fn clone(&self) -> RUPaletteFuncs
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 RUPaletteFuncs
Auto Trait Implementations
impl RefUnwindSafe for RUPaletteFuncs
impl Send for RUPaletteFuncs
impl Sync for RUPaletteFuncs
impl Unpin for RUPaletteFuncs
impl UnwindSafe for RUPaletteFuncs
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