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
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 moresourceimpl 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 Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more