Skip to main content

Module rust

Module rust 

Source
Expand description

Rendering the Rust CST. Spec §5.

One style, the one rustfmt produces: four spaces, braces on the same line, one item per line with a blank line between items.

Functions§

expr
Render one expression, for a caller that has only one.
file
Render a whole file.
item
Render one item, for a caller that has only one.
type_
Render one type, for a caller that has only one.