prutoipa_build/
generator.rs1pub mod enumeration;
2pub mod message;
3
4use std::fmt::{Display, Formatter};
5
6#[derive(Debug, Clone, Copy)]
7struct Indent(usize);
8
9impl Display for Indent {
10 fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result {
11 for _ in 0..self.0 {
12 write!(f, " ")?;
13 }
14 Ok(())
15 }
16}