[][src]Trait embedded_text::alignment::TextAlignment

pub trait TextAlignment: Copy {
    const STARTING_SPACES: bool;
    const ENDING_SPACES: bool;
}

Text alignment base trait.

Use implementors to parametrize TextBoxStyle and TextBoxStyleBuilder.

Associated Constants

const STARTING_SPACES: bool

Whether or not render spaces in the start of the line.

const ENDING_SPACES: bool

Whether or not render spaces in the end of the line.

Loading content...

Implementors

Loading content...