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

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

Horizontal text alignment base trait.

Use implementors to parametrize TextBoxStyle and TextBoxStyleBuilder.

Associated Constants

pub const STARTING_SPACES: bool[src]

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

pub const ENDING_SPACES: bool[src]

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...