pub enum DynamicValue {
}Expand description
Sum-Type fuer alle in DynamicData speicherbaren Werte. Spec §7.5.6 spricht von 12 Primitive-Types + Composite + Sequence — diese Enum kapselt das Storage.
Variants§
Bool(bool)
bool.
Byte(u8)
8-bit unsigned (octet).
Int8(i8)
int8.
UInt8(u8)
uint8.
Int16(i16)
int16.
UInt16(u16)
uint16.
Int32(i32)
int32.
UInt32(u32)
uint32.
Int64(i64)
int64.
UInt64(u64)
uint64.
Float32(f32)
float.
Float64(f64)
double.
Char8(u8)
char.
Char16(u16)
wchar.
String(String)
string.
WString(Vec<u16>)
wstring (UTF-16 als Vec
Complex(Box<DynamicData>)
Composite oder Sequence — eingebettete DynamicData.
Sequence(Vec<DynamicData>)
Sequence von DynamicData (Spec: Element-Type bekannt aus dem containerizing TypeDescriptor).
None
Discard / nicht gesetzt (Default-Wert wird zurueckgegeben).
Trait Implementations§
Source§impl Clone for DynamicValue
impl Clone for DynamicValue
Source§fn clone(&self) -> DynamicValue
fn clone(&self) -> DynamicValue
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 moreSource§impl Debug for DynamicValue
impl Debug for DynamicValue
Source§impl PartialEq for DynamicValue
impl PartialEq for DynamicValue
Auto Trait Implementations§
impl Freeze for DynamicValue
impl RefUnwindSafe for DynamicValue
impl Send for DynamicValue
impl Sync for DynamicValue
impl Unpin for DynamicValue
impl UnsafeUnpin for DynamicValue
impl UnwindSafe for DynamicValue
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