Struct GTypeValueTable
#[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) -> *mut c_void>,
pub collect_format: *const i8,
pub collect_value: Option<unsafe extern "C" fn(*mut GValue, u32, *mut GTypeCValue, u32) -> *mut i8>,
pub lcopy_format: *const i8,
pub lcopy_value: Option<unsafe extern "C" fn(*const GValue, u32, *mut GTypeCValue, u32) -> *mut i8>,
}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) -> *mut c_void>§collect_format: *const i8§collect_value: Option<unsafe extern "C" fn(*mut GValue, u32, *mut GTypeCValue, u32) -> *mut i8>§lcopy_format: *const i8§lcopy_value: Option<unsafe extern "C" fn(*const GValue, u32, *mut GTypeCValue, u32) -> *mut i8>Trait Implementations§
§impl Clone for GTypeValueTable
impl Clone for GTypeValueTable
§fn clone(&self) -> GTypeValueTable
fn clone(&self) -> GTypeValueTable
Returns a duplicate 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§impl Debug for GTypeValueTable
impl Debug for GTypeValueTable
impl Copy for GTypeValueTable
Auto Trait Implementations§
impl Freeze for GTypeValueTable
impl RefUnwindSafe for GTypeValueTable
impl !Send for GTypeValueTable
impl !Sync for GTypeValueTable
impl Unpin for GTypeValueTable
impl UnwindSafe for GTypeValueTable
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more