[][src]Trait embedded_text::alignment::HorizontalTextAlignment

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

Horizontal 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

impl HorizontalTextAlignment for CenterAligned[src]

impl HorizontalTextAlignment for Justified[src]

impl HorizontalTextAlignment for LeftAligned[src]

impl HorizontalTextAlignment for RightAligned[src]

Loading content...