Skip to main content

add_newline

Function add_newline 

Source
pub fn add_newline(
    text: &mut String,
    text_format: TextFormat,
    newline_format: NewlineFormat,
)
Expand description

Add newline characters to the end of the string.

The newline characters will be added in the given text format.