}
}
+#[derive(Default)]
pub struct BlankLine {}
impl BlankLine {
pub fn new() -> Self {
- BlankLine {}
+ Self::default()
}
pub fn render_static() -> Vec<ColouredString> {
);
}
+#[derive(Default)]
pub struct EditorHeaderSeparator {}
impl EditorHeaderSeparator {
pub fn new() -> Self {
- EditorHeaderSeparator {}
+ Self::default()
}
}
centred: bool,
}
+impl Default for Paragraph {
+ fn default() -> Self {
+ Self::new()
+ }
+}
+
impl Paragraph {
pub fn new() -> Self {
Paragraph {