[−][src]Enum embedded_text::alignment::left::LeftAlignedState
State variable used by the left aligned text renderer
Variants
This state processes the next token in the text.
DrawWord(Chars<'a>)
This state processes the next character in a word.
DrawCharacter(Chars<'a>, StyledCharacterIterator<C, F>)
This state renders a character, then passes the rest of the character iterator to DrawWord.
DrawWhitespace(u32, EmptySpaceIterator<C, F>)
This state renders whitespace.
Trait Implementations
impl<'a, C: Debug, F: Debug> Debug for LeftAlignedState<'a, C, F> where
C: PixelColor,
F: Font + Copy,
[src]
C: PixelColor,
F: Font + Copy,
Auto Trait Implementations
impl<'a, C, F> RefUnwindSafe for LeftAlignedState<'a, C, F> where
C: RefUnwindSafe,
F: RefUnwindSafe,
C: RefUnwindSafe,
F: RefUnwindSafe,
impl<'a, C, F> Send for LeftAlignedState<'a, C, F> where
C: Send,
F: Send,
C: Send,
F: Send,
impl<'a, C, F> Sync for LeftAlignedState<'a, C, F> where
C: Sync,
F: Sync,
C: Sync,
F: Sync,
impl<'a, C, F> Unpin for LeftAlignedState<'a, C, F> where
C: Unpin,
F: Unpin,
C: Unpin,
F: Unpin,
impl<'a, C, F> UnwindSafe for LeftAlignedState<'a, C, F> where
C: UnwindSafe,
F: UnwindSafe,
C: UnwindSafe,
F: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,