Skip to main content

render_csharp_xml_sections

Function render_csharp_xml_sections 

Source
pub fn render_csharp_xml_sections(
    sections: &RustdocSections,
    exception_class: &str,
) -> String
Expand description

Render RustdocSections as a C# XML doc comment body (without the /// line prefixes — the emitter adds those).

  • summary → <summary>...</summary>
  • args → <param name="x">desc</param> (one per arg)
  • returns → <returns>desc</returns>
  • errors → <exception cref="KreuzbergException">desc</exception>
  • example → <example><code language="csharp">...</code></example>