[][src]Struct gobject_sys::GParamSpecTypeInfo

#[repr(C)]
pub struct GParamSpecTypeInfo {
    pub instance_size: u16,
    pub n_preallocs: u16,
    pub instance_init: Option<unsafe extern "C" fn(_: *mut GParamSpec)>,
    pub value_type: GType,
    pub finalize: Option<unsafe extern "C" fn(_: *mut GParamSpec)>,
    pub value_set_default: Option<unsafe extern "C" fn(_: *mut GParamSpec, _: *mut GValue)>,
    pub value_validate: Option<unsafe extern "C" fn(_: *mut GParamSpec, _: *mut GValue) -> gboolean>,
    pub values_cmp: Option<unsafe extern "C" fn(_: *mut GParamSpec, _: *const GValue, _: *const GValue) -> c_int>,
}

Fields

instance_size: u16n_preallocs: u16instance_init: Option<unsafe extern "C" fn(_: *mut GParamSpec)>value_type: GTypefinalize: Option<unsafe extern "C" fn(_: *mut GParamSpec)>value_set_default: Option<unsafe extern "C" fn(_: *mut GParamSpec, _: *mut GValue)>value_validate: Option<unsafe extern "C" fn(_: *mut GParamSpec, _: *mut GValue) -> gboolean>values_cmp: Option<unsafe extern "C" fn(_: *mut GParamSpec, _: *const GValue, _: *const GValue) -> c_int>

Trait Implementations

impl Clone for GParamSpecTypeInfo[src]

impl Copy for GParamSpecTypeInfo[src]

impl Debug for GParamSpecTypeInfo[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = !

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.