Enum libptp::DataType[][src]

pub enum DataType {
Show 22 variants UNDEF, INT8(i8), UINT8(u8), INT16(i16), UINT16(u16), INT32(i32), UINT32(u32), INT64(i64), UINT64(u64), INT128(i128), UINT128(u128), AINT8(Vec<i8>), AUINT8(Vec<u8>), AINT16(Vec<i16>), AUINT16(Vec<u16>), AINT32(Vec<i32>), AUINT32(Vec<u32>), AINT64(Vec<i64>), AUINT64(Vec<u64>), AINT128(Vec<i128>), AUINT128(Vec<u128>), STR(String),
}

Variants

UNDEF
INT8(i8)

Tuple Fields of INT8

0: i8
UINT8(u8)

Tuple Fields of UINT8

0: u8
INT16(i16)

Tuple Fields of INT16

0: i16
UINT16(u16)

Tuple Fields of UINT16

0: u16
INT32(i32)

Tuple Fields of INT32

0: i32
UINT32(u32)

Tuple Fields of UINT32

0: u32
INT64(i64)

Tuple Fields of INT64

0: i64
UINT64(u64)

Tuple Fields of UINT64

0: u64
INT128(i128)

Tuple Fields of INT128

0: i128
UINT128(u128)

Tuple Fields of UINT128

0: u128
AINT8(Vec<i8>)

Tuple Fields of AINT8

0: Vec<i8>
AUINT8(Vec<u8>)

Tuple Fields of AUINT8

0: Vec<u8>
AINT16(Vec<i16>)

Tuple Fields of AINT16

0: Vec<i16>
AUINT16(Vec<u16>)

Tuple Fields of AUINT16

0: Vec<u16>
AINT32(Vec<i32>)

Tuple Fields of AINT32

0: Vec<i32>
AUINT32(Vec<u32>)

Tuple Fields of AUINT32

0: Vec<u32>
AINT64(Vec<i64>)

Tuple Fields of AINT64

0: Vec<i64>
AUINT64(Vec<u64>)

Tuple Fields of AUINT64

0: Vec<u64>
AINT128(Vec<i128>)

Tuple Fields of AINT128

0: Vec<i128>
AUINT128(Vec<u128>)

Tuple Fields of AUINT128

0: Vec<u128>
STR(String)

Tuple Fields of STR

0: String

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.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

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 resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

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.