SourceSpacer

Trait SourceSpacer 

Source
pub trait SourceSpacer {
    // Required method
    fn add_space(&mut self);
}
Expand description

Adds empty lines between blocks of text

Required Methods§

Source

fn add_space(&mut self)

Adds an empty string to the vector, but only if the last vector string isn’t empty. If the vector is empty, doesn’t add anything.

Implementations on Foreign Types§

Source§

impl SourceSpacer for Vec<String>

Source§

fn add_space(&mut self)

Implementors§