#[repr(u8)]
pub enum ValueType {
Show 35 variants
Void,
Bool,
Int,
Int8,
Int16,
Int32,
Int64,
Uint,
UintPtr,
Uint8,
Uint16,
Uint32,
Uint64,
Float32,
Float64,
Complex64,
Function,
Package,
Metadata,
Complex128,
String,
Array,
Struct,
Pointer,
UnsafePtr,
Closure,
Slice,
Map,
Interface,
Channel,
FlagA,
FlagB,
FlagC,
FlagD,
FlagE,
}
Variants§
Void
Bool
Int
Int8
Int16
Int32
Int64
Uint
UintPtr
Uint8
Uint16
Uint32
Uint64
Float32
Float64
Complex64
Function
Package
Metadata
Complex128
String
Array
Struct
Pointer
UnsafePtr
Closure
Slice
Map
Interface
Channel
FlagA
FlagB
FlagC
FlagD
FlagE
Implementations§
Trait Implementations§
source§impl Ord for ValueType
impl Ord for ValueType
source§impl PartialEq<ValueType> for ValueType
impl PartialEq<ValueType> for ValueType
source§impl PartialOrd<ValueType> for ValueType
impl PartialOrd<ValueType> for ValueType
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more