#[repr(C)]pub struct _GParamSpecTypeInfo {
pub instance_size: guint16,
pub n_preallocs: guint16,
pub instance_init: Option<unsafe extern "C" fn(pspec: *mut GParamSpec)>,
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>,
}Fields§
§instance_size: guint16§n_preallocs: guint16§instance_init: Option<unsafe extern "C" fn(pspec: *mut GParamSpec)>§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>Trait Implementations§
Source§impl Clone for _GParamSpecTypeInfo
impl Clone for _GParamSpecTypeInfo
Source§fn clone(&self) -> _GParamSpecTypeInfo
fn clone(&self) -> _GParamSpecTypeInfo
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 _GParamSpecTypeInfo
impl Debug for _GParamSpecTypeInfo
impl Copy for _GParamSpecTypeInfo
Auto Trait Implementations§
impl Freeze for _GParamSpecTypeInfo
impl RefUnwindSafe for _GParamSpecTypeInfo
impl Send for _GParamSpecTypeInfo
impl Sync for _GParamSpecTypeInfo
impl Unpin for _GParamSpecTypeInfo
impl UnwindSafe for _GParamSpecTypeInfo
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