Struct frida_sys::_GParamSpecClass
source · [−]#[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 dummy: [gpointer; 4],
}Fields
g_type_class: GTypeClassvalue_type: GTypefinalize: 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>dummy: [gpointer; 4]Trait Implementations
sourceimpl Clone for _GParamSpecClass
impl Clone for _GParamSpecClass
sourcefn clone(&self) -> _GParamSpecClass
fn clone(&self) -> _GParamSpecClass
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 _GParamSpecClass
impl Debug for _GParamSpecClass
impl Copy for _GParamSpecClass
Auto Trait Implementations
impl RefUnwindSafe for _GParamSpecClass
impl !Send for _GParamSpecClass
impl !Sync for _GParamSpecClass
impl Unpin for _GParamSpecClass
impl UnwindSafe for _GParamSpecClass
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub 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.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub 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