Trait embedded_text::alignment::HorizontalTextAlignment [−][src]
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[src]
Whether or not render spaces in the start of the line.
const ENDING_SPACES: bool[src]
Whether or not render spaces in the end of the line.
Implementors
impl HorizontalTextAlignment for CenterAligned[src]
impl HorizontalTextAlignment for CenterAligned[src]const STARTING_SPACES: bool[src]
const ENDING_SPACES: bool[src]
impl HorizontalTextAlignment for Justified[src]
impl HorizontalTextAlignment for Justified[src]const STARTING_SPACES: bool[src]
const ENDING_SPACES: bool[src]
impl HorizontalTextAlignment for LeftAligned[src]
impl HorizontalTextAlignment for LeftAligned[src]const STARTING_SPACES: bool[src]
const ENDING_SPACES: bool[src]
impl HorizontalTextAlignment for RightAligned[src]
impl HorizontalTextAlignment for RightAligned[src]