Enum erg_common::serialize::DataTypePrefix
source · #[repr(u8)]
pub enum DataTypePrefix {
Show 23 variants
Illegal,
Int32,
Int64,
Float,
BinFloat,
Complex,
BinComplex,
True,
False,
None,
StopIter,
Ref,
Long,
Str,
ShortAscii,
ShortAsciiInterned,
Unicode,
Interned,
SmallTuple,
Tuple,
Code,
Builtin,
Nat,
}
Variants§
Illegal
Int32
Int64
Float
BinFloat
Complex
BinComplex
True
False
None
StopIter
Ref
Long
Str
ShortAscii
ShortAsciiInterned
Unicode
Interned
SmallTuple
Tuple
Code
Builtin
Nat
Implementations§
Trait Implementations§
source§impl Clone for DataTypePrefix
impl Clone for DataTypePrefix
source§fn clone(&self) -> DataTypePrefix
fn clone(&self) -> DataTypePrefix
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for DataTypePrefix
impl Debug for DataTypePrefix
source§impl Display for DataTypePrefix
impl Display for DataTypePrefix
source§impl From<u8> for DataTypePrefix
impl From<u8> for DataTypePrefix
source§impl Hash for DataTypePrefix
impl Hash for DataTypePrefix
source§impl PartialEq<DataTypePrefix> for DataTypePrefix
impl PartialEq<DataTypePrefix> for DataTypePrefix
source§fn eq(&self, other: &DataTypePrefix) -> bool
fn eq(&self, other: &DataTypePrefix) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.