render_record_lit

Function render_record_lit 

Source
pub(crate) fn render_record_lit(
    ctx: &CompletionContext<'_>,
    snippet_cap: Option<SnippetCap>,
    fields: &[Field],
    path: &str,
) -> RenderedLiteral
Expand description

Render a record type (or sub-type) to a RenderedCompound. Use None for the name argument for an anonymous type.