#[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§
Source§impl Clone for GtkColorChooserInterface
impl Clone for GtkColorChooserInterface
Source§fn clone(&self) -> GtkColorChooserInterface
fn clone(&self) -> GtkColorChooserInterface
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for GtkColorChooserInterface
impl Debug for GtkColorChooserInterface
impl Copy for GtkColorChooserInterface
Auto Trait Implementations§
impl Freeze for GtkColorChooserInterface
impl RefUnwindSafe for GtkColorChooserInterface
impl !Send for GtkColorChooserInterface
impl !Sync for GtkColorChooserInterface
impl Unpin for GtkColorChooserInterface
impl UnwindSafe for GtkColorChooserInterface
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more