#[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) -> i32, pub set_current_color_group: extern "C" fn(self_c: *const RUBase, cg: i32), pub color: extern "C" fn(self_c: *const RUBase, cg: i32, cr: i32) -> RUColor, pub brush: extern "C" fn(self_c: *const RUBase, cg: i32, cr: i32) -> RUBrush, pub set_color: extern "C" fn(self_c: *const RUBase, cg: i32, cr: i32, color: *const RUBase), pub set_color_2: extern "C" fn(self_c: *const RUBase, cr: i32, color: *const RUBase), pub set_brush: extern "C" fn(self_c: *const RUBase, cr: i32, brush: *const RUBase), pub is_brush_set: extern "C" fn(self_c: *const RUBase, cg: i32, cr: i32) -> bool, pub set_brush_2: extern "C" fn(self_c: *const RUBase, cg: i32, cr: i32, brush: *const RUBase), pub set_color_group: extern "C" fn(self_c: *const RUBase, cr: i32, 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: i32, cr2: i32) -> bool, pub color_2: extern "C" fn(self_c: *const RUBase, cr: i32) -> RUColor, pub brush_2: extern "C" fn(self_c: *const RUBase, cr: i32) -> 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) -> i32set_current_color_group: extern "C" fn(self_c: *const RUBase, cg: i32)color: extern "C" fn(self_c: *const RUBase, cg: i32, cr: i32) -> RUColorbrush: extern "C" fn(self_c: *const RUBase, cg: i32, cr: i32) -> RUBrushset_color: extern "C" fn(self_c: *const RUBase, cg: i32, cr: i32, color: *const RUBase)set_color_2: extern "C" fn(self_c: *const RUBase, cr: i32, color: *const RUBase)set_brush: extern "C" fn(self_c: *const RUBase, cr: i32, brush: *const RUBase)is_brush_set: extern "C" fn(self_c: *const RUBase, cg: i32, cr: i32) -> boolset_brush_2: extern "C" fn(self_c: *const RUBase, cg: i32, cr: i32, brush: *const RUBase)set_color_group: extern "C" fn(self_c: *const RUBase, cr: i32, 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: i32, cr2: i32) -> boolcolor_2: extern "C" fn(self_c: *const RUBase, cr: i32) -> RUColorbrush_2: extern "C" fn(self_c: *const RUBase, cr: i32) -> RUBrushforeground: extern "C" fn(self_c: *const RUBase) -> RUBrushwindow_text: extern "C" fn(self_c: *const RUBase) -> RUBrushbutton: extern "C" fn(self_c: *const RUBase) -> RUBrushlight: extern "C" fn(self_c: *const RUBase) -> RUBrushdark: extern "C" fn(self_c: *const RUBase) -> RUBrushmid: extern "C" fn(self_c: *const RUBase) -> RUBrushtext: extern "C" fn(self_c: *const RUBase) -> RUBrushbase: extern "C" fn(self_c: *const RUBase) -> RUBrushalternate_base: extern "C" fn(self_c: *const RUBase) -> RUBrushtool_tip_base: extern "C" fn(self_c: *const RUBase) -> RUBrushtool_tip_text: extern "C" fn(self_c: *const RUBase) -> RUBrushbackground: extern "C" fn(self_c: *const RUBase) -> RUBrushwindow: extern "C" fn(self_c: *const RUBase) -> RUBrushmidlight: extern "C" fn(self_c: *const RUBase) -> RUBrushbright_text: extern "C" fn(self_c: *const RUBase) -> RUBrushbutton_text: extern "C" fn(self_c: *const RUBase) -> RUBrushshadow: extern "C" fn(self_c: *const RUBase) -> RUBrushhighlight: extern "C" fn(self_c: *const RUBase) -> RUBrushhighlighted_text: extern "C" fn(self_c: *const RUBase) -> RUBrushlink: extern "C" fn(self_c: *const RUBase) -> RUBrushlink_visited: extern "C" fn(self_c: *const RUBase) -> RUBrushis_copy_of: extern "C" fn(self_c: *const RUBase, p: *const RUBase) -> boolcache_key: extern "C" fn(self_c: *const RUBase) -> i64resolve: extern "C" fn(self_c: *const RUBase, arg0: *const RUBase) -> RUPaletteresolve_2: extern "C" fn(self_c: *const RUBase) -> u32resolve_3: extern "C" fn(self_c: *const RUBase, mask: u32)

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.