INNER CODE UNIT · Rust

paragraph

str4d/rage · rage/build.rs:78

    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>,
}

struct ExampleCommand {
    cmd: &'static str,
    output: Vec<String>,

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…