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 TypeValueTable
provides the functions required by the Value
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 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 TypeValueTable
impl Debug for TypeValueTable
Source§impl Default for TypeValueTable
impl Default for TypeValueTable
impl Copy for TypeValueTable
Auto Trait Implementations§
impl Freeze for TypeValueTable
impl RefUnwindSafe for TypeValueTable
impl !Send for TypeValueTable
impl !Sync for TypeValueTable
impl Unpin 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