Struct gobject_sys::GEnumValue
source · #[repr(C)]pub struct GEnumValue {
pub value: c_int,
pub value_name: *const c_char,
pub value_nick: *const c_char,
}
Fields§
§value: c_int
§value_name: *const c_char
§value_nick: *const c_char
Trait Implementations§
source§impl Clone for GEnumValue
impl Clone for GEnumValue
source§fn clone(&self) -> GEnumValue
fn clone(&self) -> GEnumValue
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 GEnumValue
impl Debug for GEnumValue
impl Copy for GEnumValue
Auto Trait Implementations§
impl Freeze for GEnumValue
impl RefUnwindSafe for GEnumValue
impl !Send for GEnumValue
impl !Sync for GEnumValue
impl Unpin for GEnumValue
impl UnwindSafe for GEnumValue
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,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)