#[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 moreimpl Copy for ValueType
impl Eq for ValueType
impl StructuralEq for ValueType
impl StructuralPartialEq for ValueType
Auto Trait Implementations§
impl RefUnwindSafe for ValueType
impl Send for ValueType
impl Sync for ValueType
impl Unpin for ValueType
impl UnwindSafe for ValueType
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