format_symbol

Function format_symbol 

Source
pub fn format_symbol<'cx>(
    cx: &'cx Context,
    cfg: Config,
    symbol: &'cx Symbol<'cx>,
) -> SymbolDisplay<'cx>
Expand description

Formats a Symbol as a String with the given configuration.

ยงFormat

Well-Known Symbols such as @@iterator are formatted as Symbol.iterator. Unique Symbols are formatted as Symbol(<#symbol>). Registry Symbols are formatted as Symbol.for(<#symbol>). Private Name Symbols are formatted as #private.