Enum embedded_text::alignment::left::LeftAlignedState
source · pub enum LeftAlignedState<'a, C, F>{
NextLine(Option<Token<'a>>, Cursor<F>),
DrawLine(StyledLineIterator<'a, C, F, UniformSpaceConfig>),
}Expand description
State variable used by the left aligned text renderer
Variants§
NextLine(Option<Token<'a>>, Cursor<F>)
Starts processing a line
DrawLine(StyledLineIterator<'a, C, F, UniformSpaceConfig>)
Renders the processed line
Trait Implementations§
Auto Trait Implementations§
impl<'a, C, F> Freeze for LeftAlignedState<'a, C, F>
impl<'a, C, F> RefUnwindSafe for LeftAlignedState<'a, C, F>where
F: RefUnwindSafe,
C: RefUnwindSafe,
impl<'a, C, F> Send for LeftAlignedState<'a, C, F>
impl<'a, C, F> Sync for LeftAlignedState<'a, C, F>
impl<'a, C, F> Unpin for LeftAlignedState<'a, C, F>
impl<'a, C, F> UnwindSafe for LeftAlignedState<'a, C, F>where
F: UnwindSafe,
C: UnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more