Function rustdoc::html::highlight::enter_span

source ·
fn enter_span(
    out: &mut impl Write,
    klass: Class,
    href_context: &Option<HrefContext<'_, '_>>
) -> &'static str
Expand description

Called when we start processing a span of text that should be highlighted. The Class argument specifies how it should be highlighted.