Struct gtk4_sys::GtkColorChooserInterface
source · [−]#[repr(C)]pub struct GtkColorChooserInterface {
pub base_interface: GTypeInterface,
pub get_rgba: Option<unsafe extern "C" fn(_: *mut GtkColorChooser, _: *const GdkRGBA)>,
pub set_rgba: Option<unsafe extern "C" fn(_: *mut GtkColorChooser, _: *const GdkRGBA)>,
pub add_palette: Option<unsafe extern "C" fn(_: *mut GtkColorChooser, _: GtkOrientation, _: c_int, _: c_int, _: *mut GdkRGBA)>,
pub color_activated: Option<unsafe extern "C" fn(_: *mut GtkColorChooser, _: *const GdkRGBA)>,
pub padding: [gpointer; 12],
}
Fields
base_interface: GTypeInterface
get_rgba: Option<unsafe extern "C" fn(_: *mut GtkColorChooser, _: *const GdkRGBA)>
set_rgba: Option<unsafe extern "C" fn(_: *mut GtkColorChooser, _: *const GdkRGBA)>
add_palette: Option<unsafe extern "C" fn(_: *mut GtkColorChooser, _: GtkOrientation, _: c_int, _: c_int, _: *mut GdkRGBA)>
color_activated: Option<unsafe extern "C" fn(_: *mut GtkColorChooser, _: *const GdkRGBA)>
padding: [gpointer; 12]
Trait Implementations
sourceimpl Clone for GtkColorChooserInterface
impl Clone for GtkColorChooserInterface
sourcefn clone(&self) -> GtkColorChooserInterface
fn clone(&self) -> GtkColorChooserInterface
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 more
sourceimpl Debug for GtkColorChooserInterface
impl Debug for GtkColorChooserInterface
impl Copy for GtkColorChooserInterface
Auto Trait Implementations
impl RefUnwindSafe for GtkColorChooserInterface
impl !Send for GtkColorChooserInterface
impl !Sync for GtkColorChooserInterface
impl Unpin for GtkColorChooserInterface
impl UnwindSafe for GtkColorChooserInterface
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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