#[repr(C)]pub struct _GParameter {
pub name: *const gchar,
pub value: GValue,
}
Expand description
GParameter: @name: the parameter name @value: the parameter value
The GParameter struct is an auxiliary structure used to hand parameter name/value pairs to g_object_newv().
Deprecated: 2.54: This type is not introspectable.
Fields§
§name: *const gchar
§value: GValue
Trait Implementations§
Source§impl Clone for _GParameter
impl Clone for _GParameter
Source§fn clone(&self) -> _GParameter
fn clone(&self) -> _GParameter
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 moreSource§impl Debug for _GParameter
impl Debug for _GParameter
impl Copy for _GParameter
Auto Trait Implementations§
impl Freeze for _GParameter
impl RefUnwindSafe for _GParameter
impl !Send for _GParameter
impl !Sync for _GParameter
impl Unpin for _GParameter
impl UnwindSafe for _GParameter
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