fn as_html(self) -> &'static str {
        match self {
            Class::Comment => "comment",
            Class::DocComment => "doccomment",
            Class::Attribute => "attribute",
            Class::KeyWord => "kw",
            Class::RefKeyWord => "kw-2",
            Class::Self_(_) => "self",
            Class::Op => "op",
            Class::Macro => "macro",
            Class::MacroNonTerminal => "macro-nonterminal",
            Class::String => "string",
            Class::Number => "number",
            Class::Bool => "bool-val",
            Class::Ident(_) => "ident",
            Class::Lifetime => "lifetime",
            Class::PreludeTy => "prelude-ty",
            Class::PreludeVal => "prelude-val",
            Class::QuestionMark => "question-mark",
            Class::Decoration(kind) => kind,
        }
    }
/// Returns the css class expected by rustdoc for each `Class`.
Returns the css class expected by rustdoc for each `Class`.
Returns the css class expected by rustdoc for each ` Class ` .
fn as_html(self) -> &'static str {
        match self {
            Class::Comment => "comment",
            Class::DocComment => "doccomment",
            Class::Attribute => "attribute",
            Class::KeyWord => "kw",
            Class::RefKeyWord => "kw-2",
            Class::Self_(_) => "self",
            Class::Op => "op",
            Class::Macro => "macro",
            Class::MacroNonTerminal => "macro-nonterminal",
            Class::String => "string",
            Class::Number => "number",
            Class::Bool => "bool-val",
            Class::Ident(_) => "ident",
            Class::Lifetime => "lifetime",
            Class::PreludeTy => "prelude-ty",
            Class::PreludeVal => "prelude-val",
            Class::QuestionMark => "question-mark",
            Class::Decoration(kind) => kind,
        }
    }
fn as_html ( self ) -> & ' static str { match self { Class :: Comment => " " , Class :: DocComment => " " , Class :: Attribute => " " , Class :: KeyWord => " " , Class :: RefKeyWord => " " , Class :: Self_ ( _ ) => " " , Class :: Op => " " , Class :: Macro => " " , Class :: MacroNonTerminal => " " , Class :: String => " " , Class :: Number => " " , Class :: Bool => " " , Class :: Ident ( _ ) => " " , Class :: Lifetime => " " , Class :: PreludeTy => " " , Class :: PreludeVal => " " , Class :: QuestionMark => " " , Class :: Decoration ( kind ) => kind , } }
Returns the css class expected by rustdoc for each `Class`.
Returns the css class expected by rustdoc for each ` Class ` .
self
self