pub struct TypeValueTable(/* private fields */);Expand description
-
'i': Integers, passed ascollect_values[].v_int'l': Longs, passed ascollect_values[].v_long'd': Doubles, passed ascollect_values[].v_double'p': Pointers, passed ascollect_values[].v_pointer
It should be noted that for variable argument list construction, ANSI C promotes every type smaller than an integer to an int, and floats to doubles. So for collection of short int or char,
'i'needs to be used, and for collection of floats'd'. The #GTypeValueTable provides the functions required by the #GValue implementation, to serve as a container for values of a type.
Trait Implementations§
Source§impl Clone for TypeValueTable
impl Clone for TypeValueTable
Source§fn clone(&self) -> TypeValueTable
fn clone(&self) -> TypeValueTable
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TypeValueTable
Source§impl Debug for TypeValueTable
impl Debug for TypeValueTable
Auto Trait Implementations§
impl !Send for TypeValueTable
impl !Sync for TypeValueTable
impl Freeze for TypeValueTable
impl RefUnwindSafe for TypeValueTable
impl Unpin for TypeValueTable
impl UnsafeUnpin for TypeValueTable
impl UnwindSafe for TypeValueTable
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