pub enum SimpleType {
Show 46 variants VOID, SCHAR, UCHAR, RCHAR, WCHAR, CHAR16, CHAR32, CHAR8, SBYTE, UBYTE, SSHORT, USHORT, SINT16, UINT16, SLONG, ULONG, SINT32, UINT32, SQUAD, UQUAD, SINT64, UINT64, SOCTA, UOCTA, SINT128, UINT128, FLOAT16, FLOAT32, FLOAT32_PARTIAL_PRECISION, FLOAT48, FLOAT64, FLOAT80, FLOAT128, COMPLEX16, COMPLEX32, COMPLEX32_PARTIAL_PRECISION, COMPLEX48, COMPLEX64, COMPLEX80, COMPLEX128, BOOL8, BOOL16, BOOL32, BOOL64, BOOL128, UNKNOWN(u32),
}

Variants§

§

VOID

Void type (return type or void*)

§

SCHAR

Signed Character

§

UCHAR

Unsigned Character

§

RCHAR

“Real” Character (char)

§

WCHAR

Wide Character (wchar_t)

§

CHAR16

16-bit Character (char16_t)

§

CHAR32

32-bit Character (char32_t)

§

CHAR8

8-bit Character (char8_t)

§

SBYTE

Signed Byte

§

UBYTE

Unsigned Byte

§

SSHORT

Signed Short

§

USHORT

Unsigned Short

§

SINT16

Explicit Signed 16-bit Integer

§

UINT16

Explicit Unsigned 16-bit Integer

§

SLONG

Signed Long

§

ULONG

Unsigned Long

§

SINT32

Explicit Signed 32-bit Integer

§

UINT32

Explicit Unsigned 32-bit Integer

§

SQUAD

Signed Quadword

§

UQUAD

Unsigned Quadword

§

SINT64

Explicit Signed 64-bit Integer

§

UINT64

Explicit Unsigned 64-bit Integer

§

SOCTA

Signed Octaword

§

UOCTA

Unsigned Octaword

§

SINT128

Explicit Signed 128-bit Integer

§

UINT128

Explicit Unsigned 128-bit Integer

§

FLOAT16

16-bit Floating point

§

FLOAT32

32-bit Floating point (float)

§

FLOAT32_PARTIAL_PRECISION

§

FLOAT48

48-bit Floating point

§

FLOAT64

64-bit Floating point (double)

§

FLOAT80

80-bit Floating point

§

FLOAT128

128-bit Floating point

§

COMPLEX16

§

COMPLEX32

§

COMPLEX32_PARTIAL_PRECISION

§

COMPLEX48

§

COMPLEX64

§

COMPLEX80

§

COMPLEX128

§

BOOL8

8-bit Boolean

§

BOOL16

16-bit Boolean

§

BOOL32

32-bit Boolean

§

BOOL64

64-bit Boolean

§

BOOL128

128-bit Boolean

§

UNKNOWN(u32)

Trait Implementations§

§

impl Clone for SimpleType

§

fn clone(&self) -> SimpleType

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for SimpleType

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
§

impl From<SimpleType> for u32

§

fn from(value: SimpleType) -> u32

Converts to this type from the input type.
§

impl From<u32> for SimpleType

§

fn from(value: u32) -> Self

Converts to this type from the input type.
§

impl Hash for SimpleType

§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
§

impl PartialEq<SimpleType> for SimpleType

§

fn eq(&self, other: &SimpleType) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
§

impl Copy for SimpleType

§

impl Eq for SimpleType

§

impl StructuralEq for SimpleType

§

impl StructuralPartialEq for SimpleType

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

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

fn clone_into(&self, target: &mut T)

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

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.