Union gobject_sys::GTypeCValue
source · #[repr(C)]
pub union GTypeCValue {
pub v_int: c_int,
pub v_long: c_long,
pub v_int64: i64,
pub v_double: c_double,
pub v_pointer: gpointer,
}
Fields§
§v_int: c_int
§v_long: c_long
§v_int64: i64
§v_double: c_double
§v_pointer: gpointer
Trait Implementations§
source§impl Clone for GTypeCValue
impl Clone for GTypeCValue
source§fn clone(&self) -> GTypeCValue
fn clone(&self) -> GTypeCValue
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 moresource§impl Debug for GTypeCValue
impl Debug for GTypeCValue
impl Copy for GTypeCValue
Auto Trait Implementations§
impl Freeze for GTypeCValue
impl RefUnwindSafe for GTypeCValue
impl !Send for GTypeCValue
impl !Sync for GTypeCValue
impl Unpin for GTypeCValue
impl UnwindSafe for GTypeCValue
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