Enum cirru_edn::Edn [−][src]
pub enum Edn {
Nil,
Bool(bool),
Number(f64),
Symbol(String),
Keyword(String),
Str(String),
Quote(Cirru),
Tuple(Box<Edn>, Box<Edn>),
List(Vec<Edn>),
Set(HashSet<Edn>),
Map(HashMap<Edn, Edn>),
Record(String, Vec<String>, Vec<Edn>),
}
Expand description
Data format based on subset of EDN, but in Cirru syntax. different parts are quote and Record.
Variants
Bool(bool)
Tuple Fields of Bool
0: bool
Number(f64)
Tuple Fields of Number
0: f64
Symbol(String)
Tuple Fields of Symbol
0: String
Keyword(String)
Tuple Fields of Keyword
0: String
Str(String)
Tuple Fields of Str
0: String
Quote(Cirru)
Tuple Fields of Quote
0: Cirru
Implementations
Support reading from EDN
Trait Implementations
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for Edn
impl UnwindSafe for Edn
Blanket Implementations
Mutably borrows from an owned value. Read more