Struct edn_format::Symbol [−][src]
pub struct Symbol { /* fields omitted */ }Expand description
A symbol, as described in EDN data model, is an identifier.
Because its contents are interned, cloning and comparisons should be relatively cheap operations and construction relatively expensive.
Implementations
Construct a symbol from a name.
There are no safeguards in place for ensuring that the name given would be valid EDN.
Construct a symbol from a namespace and a name.
There are no safeguards in place for ensuring that either the namespace or the name given would be valid EDN.
Trait Implementations
If the namespace and name of the symbol follow the proper rules, displaying a symbol should give valid EDN.
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 Symbol
impl UnwindSafe for Symbol
Blanket Implementations
Mutably borrows from an owned value. Read more
