#[repr(C)]pub struct _GParamSpecClass {
pub g_type_class: GTypeClass,
pub value_type: GType,
pub finalize: Option<unsafe extern "C" fn(pspec: *mut GParamSpec)>,
pub value_set_default: Option<unsafe extern "C" fn(pspec: *mut GParamSpec, value: *mut GValue)>,
pub value_validate: Option<unsafe extern "C" fn(pspec: *mut GParamSpec, value: *mut GValue) -> gboolean>,
pub values_cmp: Option<unsafe extern "C" fn(pspec: *mut GParamSpec, value1: *const GValue, value2: *const GValue) -> gint>,
pub value_is_valid: Option<unsafe extern "C" fn(pspec: *mut GParamSpec, value: *const GValue) -> gboolean>,
pub dummy: [gpointer; 3],
}Fields§
§g_type_class: GTypeClass§value_type: GType§finalize: Option<unsafe extern "C" fn(pspec: *mut GParamSpec)>§value_set_default: Option<unsafe extern "C" fn(pspec: *mut GParamSpec, value: *mut GValue)>§value_validate: Option<unsafe extern "C" fn(pspec: *mut GParamSpec, value: *mut GValue) -> gboolean>§values_cmp: Option<unsafe extern "C" fn(pspec: *mut GParamSpec, value1: *const GValue, value2: *const GValue) -> gint>§value_is_valid: Option<unsafe extern "C" fn(pspec: *mut GParamSpec, value: *const GValue) -> gboolean>§dummy: [gpointer; 3]Trait Implementations§
Source§impl Clone for _GParamSpecClass
impl Clone for _GParamSpecClass
Source§fn clone(&self) -> _GParamSpecClass
fn clone(&self) -> _GParamSpecClass
Returns a duplicate 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 _GParamSpecClass
impl Debug for _GParamSpecClass
impl Copy for _GParamSpecClass
Auto Trait Implementations§
impl Freeze for _GParamSpecClass
impl RefUnwindSafe for _GParamSpecClass
impl !Send for _GParamSpecClass
impl !Sync for _GParamSpecClass
impl Unpin for _GParamSpecClass
impl UnwindSafe for _GParamSpecClass
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