INNER CODE UNIT · Rust
subheading
str4d/rage · rage/build.rs:73
fn subheading(mut self, subheading: String) -> Self {
self.0.control("SS", [subheading.as_str()]);
self
}
fn paragraph(mut self, content: String) -> Self {
self.0.text(format_localized(content));
self
}
fn render(self, w: &mut impl io::Write) -> io::Result<()> {
self.0.to_writer(w)
}
}
struct Example {
text: String,
commands: Vec<ExampleCommand>,