pub fn render_function_definition(
md: &mut String,
name: &str,
f: &Function,
type_renderer: &TypeRenderer<'_>,
)Expand description
Render a function definition to markdown.
Produces a heading with the function name, followed by a Rust code block showing the full signature with modifiers (const, async, unsafe).
ยงArguments
md- Output markdown stringname- The function namef- The function data from rustdoctype_renderer- Type renderer for parameter and return types