Struct frida_sys::_GTypeValueTable
source · [−]#[repr(C)]pub struct _GTypeValueTable {
pub value_init: Option<unsafe extern "C" fn(value: *mut GValue)>,
pub value_free: Option<unsafe extern "C" fn(value: *mut GValue)>,
pub value_copy: Option<unsafe extern "C" fn(src_value: *const GValue, dest_value: *mut GValue)>,
pub value_peek_pointer: Option<unsafe extern "C" fn(value: *const GValue) -> gpointer>,
pub collect_format: *const gchar,
pub collect_value: Option<unsafe extern "C" fn(value: *mut GValue, n_collect_values: guint, collect_values: *mut GTypeCValue, collect_flags: guint) -> *mut gchar>,
pub lcopy_format: *const gchar,
pub lcopy_value: Option<unsafe extern "C" fn(value: *const GValue, n_collect_values: guint, collect_values: *mut GTypeCValue, collect_flags: guint) -> *mut gchar>,
}Fields
value_init: Option<unsafe extern "C" fn(value: *mut GValue)>value_free: Option<unsafe extern "C" fn(value: *mut GValue)>value_copy: Option<unsafe extern "C" fn(src_value: *const GValue, dest_value: *mut GValue)>value_peek_pointer: Option<unsafe extern "C" fn(value: *const GValue) -> gpointer>collect_format: *const gcharcollect_value: Option<unsafe extern "C" fn(value: *mut GValue, n_collect_values: guint, collect_values: *mut GTypeCValue, collect_flags: guint) -> *mut gchar>lcopy_format: *const gcharlcopy_value: Option<unsafe extern "C" fn(value: *const GValue, n_collect_values: guint, collect_values: *mut GTypeCValue, collect_flags: guint) -> *mut gchar>Trait Implementations
sourceimpl Clone for _GTypeValueTable
impl Clone for _GTypeValueTable
sourcefn clone(&self) -> _GTypeValueTable
fn clone(&self) -> _GTypeValueTable
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 _GTypeValueTable
impl Debug for _GTypeValueTable
impl Copy for _GTypeValueTable
Auto Trait Implementations
impl RefUnwindSafe for _GTypeValueTable
impl !Send for _GTypeValueTable
impl !Sync for _GTypeValueTable
impl Unpin for _GTypeValueTable
impl UnwindSafe for _GTypeValueTable
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