pub enum PrimitiveType {
Show 15 variants
Boolean,
Octet,
Char,
WChar,
Short,
UShort,
Long,
ULong,
LongLong,
ULongLong,
Float,
Double,
LongDouble,
String,
WString,
}Expand description
Primitive-Type-Symbol gemaess Spec §7.2.1 + §7.3.3.4.4.2.
Strings/WStrings tragen optional stringMaxLength-Attribut am Member,
aber sind in der TypeRef-Tabelle als unbounded-Variante dargestellt.
Variants§
Boolean
IDL boolean.
Octet
IDL octet (unsigned 8-bit).
Char
IDL char (8-bit).
WChar
IDL wchar (16-bit).
Short
IDL short (signed 16-bit).
UShort
IDL unsigned short / ushort.
Long
IDL long (signed 32-bit).
ULong
IDL unsigned long / ulong.
LongLong
IDL long long / longlong.
ULongLong
IDL unsigned long long / ulonglong.
Float
IDL float (32-bit IEEE 754).
Double
IDL double (64-bit IEEE 754).
LongDouble
IDL long double (extended precision).
String
IDL string (8-bit chars).
WString
IDL wstring (16-bit chars).
Implementations§
Trait Implementations§
Source§impl Clone for PrimitiveType
impl Clone for PrimitiveType
Source§fn clone(&self) -> PrimitiveType
fn clone(&self) -> PrimitiveType
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 PrimitiveType
impl Debug for PrimitiveType
Source§impl PartialEq for PrimitiveType
impl PartialEq for PrimitiveType
Source§fn eq(&self, other: &PrimitiveType) -> bool
fn eq(&self, other: &PrimitiveType) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for PrimitiveType
impl Eq for PrimitiveType
impl StructuralPartialEq for PrimitiveType
Auto Trait Implementations§
impl Freeze for PrimitiveType
impl RefUnwindSafe for PrimitiveType
impl Send for PrimitiveType
impl Sync for PrimitiveType
impl Unpin for PrimitiveType
impl UnsafeUnpin for PrimitiveType
impl UnwindSafe for PrimitiveType
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