pub enum PrimitiveType {
Show 194 variants
Bool,
Uint2,
Uint3,
Uint4,
Uint5,
Uint6,
Uint7,
Uint8,
Uint9,
Uint10,
Uint11,
Uint12,
Uint13,
Uint14,
Uint15,
Uint16,
Uint17,
Uint18,
Uint19,
Uint20,
Uint21,
Uint22,
Uint23,
Uint24,
Uint25,
Uint26,
Uint27,
Uint28,
Uint29,
Uint30,
Uint31,
Uint32,
Uint33,
Uint34,
Uint35,
Uint36,
Uint37,
Uint38,
Uint39,
Uint40,
Uint41,
Uint42,
Uint43,
Uint44,
Uint45,
Uint46,
Uint47,
Uint48,
Uint49,
Uint50,
Uint51,
Uint52,
Uint53,
Uint54,
Uint55,
Uint56,
Uint57,
Uint58,
Uint59,
Uint60,
Uint61,
Uint62,
Uint63,
Uint64,
Int2,
Int3,
Int4,
Int5,
Int6,
Int7,
Int8,
Int9,
Int10,
Int11,
Int12,
Int13,
Int14,
Int15,
Int16,
Int17,
Int18,
Int19,
Int20,
Int21,
Int22,
Int23,
Int24,
Int25,
Int26,
Int27,
Int28,
Int29,
Int30,
Int31,
Int32,
Int33,
Int34,
Int35,
Int36,
Int37,
Int38,
Int39,
Int40,
Int41,
Int42,
Int43,
Int44,
Int45,
Int46,
Int47,
Int48,
Int49,
Int50,
Int51,
Int52,
Int53,
Int54,
Int55,
Int56,
Int57,
Int58,
Int59,
Int60,
Int61,
Int62,
Int63,
Int64,
Float16,
Float32,
Float64,
Void1,
Void2,
Void3,
Void4,
Void5,
Void6,
Void7,
Void8,
Void9,
Void10,
Void11,
Void12,
Void13,
Void14,
Void15,
Void16,
Void17,
Void18,
Void19,
Void20,
Void21,
Void22,
Void23,
Void24,
Void25,
Void26,
Void27,
Void28,
Void29,
Void30,
Void31,
Void32,
Void33,
Void34,
Void35,
Void36,
Void37,
Void38,
Void39,
Void40,
Void41,
Void42,
Void43,
Void44,
Void45,
Void46,
Void47,
Void48,
Void49,
Void50,
Void51,
Void52,
Void53,
Void54,
Void55,
Void56,
Void57,
Void58,
Void59,
Void60,
Void61,
Void62,
Void63,
Void64,
}
Expand description
An Uavcan PrimitiveDataType
These types are assumed to be built-in. They can be directly referenced from any data type of any namespace. The DSDL compiler should implement these types using the native types of the target programming language.
Variants§
Bool
Uint2
Uint3
Uint4
Uint5
Uint6
Uint7
Uint8
Uint9
Uint10
Uint11
Uint12
Uint13
Uint14
Uint15
Uint16
Uint17
Uint18
Uint19
Uint20
Uint21
Uint22
Uint23
Uint24
Uint25
Uint26
Uint27
Uint28
Uint29
Uint30
Uint31
Uint32
Uint33
Uint34
Uint35
Uint36
Uint37
Uint38
Uint39
Uint40
Uint41
Uint42
Uint43
Uint44
Uint45
Uint46
Uint47
Uint48
Uint49
Uint50
Uint51
Uint52
Uint53
Uint54
Uint55
Uint56
Uint57
Uint58
Uint59
Uint60
Uint61
Uint62
Uint63
Uint64
Int2
Int3
Int4
Int5
Int6
Int7
Int8
Int9
Int10
Int11
Int12
Int13
Int14
Int15
Int16
Int17
Int18
Int19
Int20
Int21
Int22
Int23
Int24
Int25
Int26
Int27
Int28
Int29
Int30
Int31
Int32
Int33
Int34
Int35
Int36
Int37
Int38
Int39
Int40
Int41
Int42
Int43
Int44
Int45
Int46
Int47
Int48
Int49
Int50
Int51
Int52
Int53
Int54
Int55
Int56
Int57
Int58
Int59
Int60
Int61
Int62
Int63
Int64
Float16
Float32
Float64
Void1
Void2
Void3
Void4
Void5
Void6
Void7
Void8
Void9
Void10
Void11
Void12
Void13
Void14
Void15
Void16
Void17
Void18
Void19
Void20
Void21
Void22
Void23
Void24
Void25
Void26
Void27
Void28
Void29
Void30
Void31
Void32
Void33
Void34
Void35
Void36
Void37
Void38
Void39
Void40
Void41
Void42
Void43
Void44
Void45
Void46
Void47
Void48
Void49
Void50
Void51
Void52
Void53
Void54
Void55
Void56
Void57
Void58
Void59
Void60
Void61
Void62
Void63
Void64
Implementations§
Trait Implementations§
Source§impl Clone for PrimitiveType
impl Clone for PrimitiveType
Source§fn clone(&self) -> PrimitiveType
fn clone(&self) -> PrimitiveType
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 PrimitiveType
impl Debug for PrimitiveType
Source§impl Display for PrimitiveType
impl Display for PrimitiveType
Source§impl From<PrimitiveType> for Ty
impl From<PrimitiveType> for Ty
Source§fn from(t: PrimitiveType) -> Ty
fn from(t: PrimitiveType) -> Ty
Converts to this type from the input type.
Source§impl FromStr for PrimitiveType
impl FromStr for PrimitiveType
Source§impl PartialEq for PrimitiveType
impl PartialEq for PrimitiveType
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 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