Struct edn_format::Keyword [−][src]
pub struct Keyword { /* fields omitted */ }Expand description
A keyword, as described in EDN data model, is identifier which should “designate itself”.
Because its contents are interned, cloning and comparisons should be relatively cheap operations and construction relatively expensive.
Implementations
Construct a keyword from a name.
There are no safeguards in place for ensuring that the name given would be valid EDN.
Construct a keyword 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 keyword 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 Keyword
impl UnwindSafe for Keyword
Blanket Implementations
Mutably borrows from an owned value. Read more
