Enum can_aerospace_lite::types::DataType[][src]

pub enum DataType {
Show 34 variants NODATA, ERROR(u32), FLOAT(f32), LONG(i32), ULONG(u32), BLONG(u32), SHORT(i16), USHORT(u16), BSHORT(u16), CHAR(i8), UCHAR(u8), BCHAR(u8), SHORT2(i16, i16), USHORT2(u16, u16), BSHORT2(u16, u16), CHAR4(i8, i8, i8, i8), UCHAR4(u8, u8, u8, u8), BCHAR4(u8, u8, u8, u8), CHAR2(i8, i8), UCHAR2(u8, u8), BCHAR2(u8, u8), MEMID(u32), CHKSUM(u32), ACHAR(u8), ACHAR2(u8, u8), ACHAR4(u8, u8, u8, u8), CHAR3(i8, i8, i8), UCHAR3(u8, u8, u8), BCHAR3(u8, u8, u8), ACHAR3(u8, u8, u8), DOUBLEH(u32), DOUBLEL(u32), RESVD(u32), UDEF { value: u32, type_id: u8, },
}

Variants

NODATA
ERROR

Tuple Fields of ERROR

0: u32
FLOAT

Tuple Fields of FLOAT

0: f32
LONG

Tuple Fields of LONG

0: i32
ULONG

Tuple Fields of ULONG

0: u32
BLONG

Tuple Fields of BLONG

0: u32
SHORT

Tuple Fields of SHORT

0: i16
USHORT

Tuple Fields of USHORT

0: u16
BSHORT

Tuple Fields of BSHORT

0: u16
CHAR

Tuple Fields of CHAR

0: i8
UCHAR

Tuple Fields of UCHAR

0: u8
BCHAR

Tuple Fields of BCHAR

0: u8
SHORT2

Tuple Fields of SHORT2

0: i161: i16
USHORT2

Tuple Fields of USHORT2

0: u161: u16
BSHORT2

Tuple Fields of BSHORT2

0: u161: u16
CHAR4

Tuple Fields of CHAR4

0: i81: i82: i83: i8
UCHAR4

Tuple Fields of UCHAR4

0: u81: u82: u83: u8
BCHAR4

Tuple Fields of BCHAR4

0: u81: u82: u83: u8
CHAR2

Tuple Fields of CHAR2

0: i81: i8
UCHAR2

Tuple Fields of UCHAR2

0: u81: u8
BCHAR2

Tuple Fields of BCHAR2

0: u81: u8
MEMID

Tuple Fields of MEMID

0: u32
CHKSUM

Tuple Fields of CHKSUM

0: u32
ACHAR

Tuple Fields of ACHAR

0: u8
ACHAR2

Tuple Fields of ACHAR2

0: u81: u8
ACHAR4

Tuple Fields of ACHAR4

0: u81: u82: u83: u8
CHAR3

Tuple Fields of CHAR3

0: i81: i82: i8
UCHAR3

Tuple Fields of UCHAR3

0: u81: u82: u8
BCHAR3

Tuple Fields of BCHAR3

0: u81: u82: u8
ACHAR3

Tuple Fields of ACHAR3

0: u81: u82: u8
DOUBLEH

Tuple Fields of DOUBLEH

0: u32
DOUBLEL

Tuple Fields of DOUBLEL

0: u32
RESVD

Tuple Fields of RESVD

0: u32
UDEF

Fields of UDEF

value: u32type_id: u8

Implementations

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Performs the conversion.

Performs the conversion.

Performs the conversion.

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.