}
}
+ crate fn new() -> Buffer {
+ Buffer {
+ for_html: false,
+ buffer: String::new(),
+ }
+ }
+
crate fn is_empty(&self) -> bool {
self.buffer.is_empty()
}
write!(self, "{:#}", t);
}
}
+
+ crate fn is_for_html(&self) -> bool {
+ self.for_html
+ }
}
/// Wrapper struct for properly emitting a function or method declaration.