29 lines
623 B
Rust
29 lines
623 B
Rust
/// The kinds of `Value` from the specification.
|
|
#[derive(Debug, Clone, PartialEq, Eq, Hash, PartialOrd, Ord)]
|
|
pub enum ValueClass {
|
|
Atomic(AtomClass),
|
|
Compound(CompoundClass),
|
|
Embedded,
|
|
}
|
|
|
|
/// The kinds of `Atom` from the specification.
|
|
#[derive(Debug, Clone, PartialEq, Eq, Hash, PartialOrd, Ord)]
|
|
pub enum AtomClass {
|
|
Boolean,
|
|
Float,
|
|
Double,
|
|
SignedInteger,
|
|
String,
|
|
ByteString,
|
|
Symbol,
|
|
}
|
|
|
|
/// The kinds of `Compound` from the specification.
|
|
#[derive(Debug, Clone, PartialEq, Eq, Hash, PartialOrd, Ord)]
|
|
pub enum CompoundClass {
|
|
Record,
|
|
Sequence,
|
|
Set,
|
|
Dictionary,
|
|
}
|