Struct gobject_sys::GTypeValueTable
source · #[repr(C)]pub struct GTypeValueTable {
pub value_init: Option<unsafe extern "C" fn(_: *mut GValue)>,
pub value_free: Option<unsafe extern "C" fn(_: *mut GValue)>,
pub value_copy: Option<unsafe extern "C" fn(_: *const GValue, _: *mut GValue)>,
pub value_peek_pointer: Option<unsafe extern "C" fn(_: *const GValue) -> gpointer>,
pub collect_format: *const c_char,
pub collect_value: Option<unsafe extern "C" fn(_: *const GValue, _: c_uint, _: *mut GTypeCValue, _: c_uint) -> *mut c_char>,
pub lcopy_format: *const c_char,
pub lcopy_value: Option<unsafe extern "C" fn(_: *const GValue, _: c_uint, _: *mut GTypeCValue, _: c_uint) -> *mut c_char>,
}
Fields§
§value_init: Option<unsafe extern "C" fn(_: *mut GValue)>
§value_free: Option<unsafe extern "C" fn(_: *mut GValue)>
§value_copy: Option<unsafe extern "C" fn(_: *const GValue, _: *mut GValue)>
§value_peek_pointer: Option<unsafe extern "C" fn(_: *const GValue) -> gpointer>
§collect_format: *const c_char
§collect_value: Option<unsafe extern "C" fn(_: *const GValue, _: c_uint, _: *mut GTypeCValue, _: c_uint) -> *mut c_char>
§lcopy_format: *const c_char
§lcopy_value: Option<unsafe extern "C" fn(_: *const GValue, _: c_uint, _: *mut GTypeCValue, _: c_uint) -> *mut c_char>
Trait Implementations§
source§impl Clone for GTypeValueTable
impl Clone for GTypeValueTable
source§fn clone(&self) -> GTypeValueTable
fn clone(&self) -> GTypeValueTable
Returns a copy 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 more