#[repr(C)]pub struct GtkFontChooserIface {
pub base_iface: GTypeInterface,
pub get_font_family: Option<unsafe extern "C" fn(_: *mut GtkFontChooser) -> *mut PangoFontFamily>,
pub get_font_face: Option<unsafe extern "C" fn(_: *mut GtkFontChooser) -> *mut PangoFontFace>,
pub get_font_size: Option<unsafe extern "C" fn(_: *mut GtkFontChooser) -> c_int>,
pub set_filter_func: Option<unsafe extern "C" fn(_: *mut GtkFontChooser, _: GtkFontFilterFunc, _: gpointer, _: GDestroyNotify)>,
pub font_activated: Option<unsafe extern "C" fn(_: *mut GtkFontChooser, _: *const c_char)>,
pub set_font_map: Option<unsafe extern "C" fn(_: *mut GtkFontChooser, _: *mut PangoFontMap)>,
pub get_font_map: Option<unsafe extern "C" fn(_: *mut GtkFontChooser) -> *mut PangoFontMap>,
pub padding: [gpointer; 10],
}
Fields§
§base_iface: GTypeInterface
§get_font_family: Option<unsafe extern "C" fn(_: *mut GtkFontChooser) -> *mut PangoFontFamily>
§get_font_face: Option<unsafe extern "C" fn(_: *mut GtkFontChooser) -> *mut PangoFontFace>
§get_font_size: Option<unsafe extern "C" fn(_: *mut GtkFontChooser) -> c_int>
§set_filter_func: Option<unsafe extern "C" fn(_: *mut GtkFontChooser, _: GtkFontFilterFunc, _: gpointer, _: GDestroyNotify)>
§font_activated: Option<unsafe extern "C" fn(_: *mut GtkFontChooser, _: *const c_char)>
§set_font_map: Option<unsafe extern "C" fn(_: *mut GtkFontChooser, _: *mut PangoFontMap)>
§get_font_map: Option<unsafe extern "C" fn(_: *mut GtkFontChooser) -> *mut PangoFontMap>
§padding: [gpointer; 10]
Trait Implementations§
Source§impl Clone for GtkFontChooserIface
impl Clone for GtkFontChooserIface
Source§fn clone(&self) -> GtkFontChooserIface
fn clone(&self) -> GtkFontChooserIface
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 GtkFontChooserIface
impl Debug for GtkFontChooserIface
impl Copy for GtkFontChooserIface
Auto Trait Implementations§
impl Freeze for GtkFontChooserIface
impl RefUnwindSafe for GtkFontChooserIface
impl !Send for GtkFontChooserIface
impl !Sync for GtkFontChooserIface
impl Unpin for GtkFontChooserIface
impl UnwindSafe for GtkFontChooserIface
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)