pub enum PrimitiveValue {
}Expand description
Konkreter Primitiv-Wert (typed, mit Range-Check beim Parse).
Variants§
Bool(bool)
boolean.
I8(i8)
char als 8-bit signed (IDL-konform).
U8(u8)
octet.
I16(i16)
short.
U16(u16)
ushort / wchar.
I32(i32)
long.
U32(u32)
ulong.
I64(i64)
longlong.
U64(u64)
ulonglong.
F32(f32)
float.
F64(f64)
double / longdouble (longdouble fallt auf f64 zurueck).
Str(String)
string / wstring.
Char(char)
8-bit char als Unicode-Codepoint.
Trait Implementations§
Source§impl Clone for PrimitiveValue
impl Clone for PrimitiveValue
Source§fn clone(&self) -> PrimitiveValue
fn clone(&self) -> PrimitiveValue
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 PrimitiveValue
impl Debug for PrimitiveValue
Source§impl PartialEq for PrimitiveValue
impl PartialEq for PrimitiveValue
Source§fn eq(&self, other: &PrimitiveValue) -> bool
fn eq(&self, other: &PrimitiveValue) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PrimitiveValue
Auto Trait Implementations§
impl Freeze for PrimitiveValue
impl RefUnwindSafe for PrimitiveValue
impl Send for PrimitiveValue
impl Sync for PrimitiveValue
impl Unpin for PrimitiveValue
impl UnsafeUnpin for PrimitiveValue
impl UnwindSafe for PrimitiveValue
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