Struct calypso_base::symbol::Symbol
source · pub struct Symbol(Spur);
Expand description
An interned string.
Tuple Fields§
§0: Spur
Implementations§
source§impl Symbol
impl Symbol
sourcepub fn intern_static(string: &'static str) -> Self
pub fn intern_static(string: &'static str) -> Self
Intern a static string and return the symbol.
sourcepub fn is_keyword(self) -> bool
pub fn is_keyword(self) -> bool
Check if a symbol is a keyword.