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_intv_long: c_longv_int64: i64v_double: c_doublev_pointer: gpointerTrait Implementations
sourceimpl Clone for GTypeCValue
impl Clone for GTypeCValue
sourcefn clone(&self) -> GTypeCValue
fn clone(&self) -> GTypeCValue
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 GTypeCValue
impl Debug for GTypeCValue
impl Copy for GTypeCValue
Auto Trait Implementations
impl RefUnwindSafe for GTypeCValue
impl !Send for GTypeCValue
impl !Sync for GTypeCValue
impl Unpin for GTypeCValue
impl UnwindSafe for GTypeCValue
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