Struct gtk_sys::GtkStyleProviderIface
source · [−]#[repr(C)]pub struct GtkStyleProviderIface {
pub g_iface: GTypeInterface,
pub get_style: Option<unsafe extern "C" fn(_: *mut GtkStyleProvider, _: *mut GtkWidgetPath) -> *mut GtkStyleProperties>,
pub get_style_property: Option<unsafe extern "C" fn(_: *mut GtkStyleProvider, _: *mut GtkWidgetPath, _: GtkStateFlags, _: *mut GParamSpec, _: *mut GValue) -> gboolean>,
pub get_icon_factory: Option<unsafe extern "C" fn(_: *mut GtkStyleProvider, _: *mut GtkWidgetPath) -> *mut GtkIconFactory>,
}
Fields
g_iface: GTypeInterface
get_style: Option<unsafe extern "C" fn(_: *mut GtkStyleProvider, _: *mut GtkWidgetPath) -> *mut GtkStyleProperties>
get_style_property: Option<unsafe extern "C" fn(_: *mut GtkStyleProvider, _: *mut GtkWidgetPath, _: GtkStateFlags, _: *mut GParamSpec, _: *mut GValue) -> gboolean>
get_icon_factory: Option<unsafe extern "C" fn(_: *mut GtkStyleProvider, _: *mut GtkWidgetPath) -> *mut GtkIconFactory>
Trait Implementations
sourceimpl Clone for GtkStyleProviderIface
impl Clone for GtkStyleProviderIface
sourcefn clone(&self) -> GtkStyleProviderIface
fn clone(&self) -> GtkStyleProviderIface
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 GtkStyleProviderIface
impl Debug for GtkStyleProviderIface
impl Copy for GtkStyleProviderIface
Auto Trait Implementations
impl RefUnwindSafe for GtkStyleProviderIface
impl Send for GtkStyleProviderIface
impl Sync for GtkStyleProviderIface
impl Unpin for GtkStyleProviderIface
impl UnwindSafe for GtkStyleProviderIface
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
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more