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. -
'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
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more