Struct frida_sys::_GParamSpecTypeInfo
source · [−]#[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: guint16n_preallocs: guint16instance_init: Option<unsafe extern "C" fn(pspec: *mut GParamSpec)>value_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>Trait Implementations
sourceimpl Clone for _GParamSpecTypeInfo
impl Clone for _GParamSpecTypeInfo
sourcefn clone(&self) -> _GParamSpecTypeInfo
fn clone(&self) -> _GParamSpecTypeInfo
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 _GParamSpecTypeInfo
impl Debug for _GParamSpecTypeInfo
impl Copy for _GParamSpecTypeInfo
Auto Trait Implementations
impl RefUnwindSafe for _GParamSpecTypeInfo
impl Send for _GParamSpecTypeInfo
impl Sync for _GParamSpecTypeInfo
impl Unpin for _GParamSpecTypeInfo
impl UnwindSafe for _GParamSpecTypeInfo
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