[−][src]Enum embedded_text::rendering::line::LineState
Internal state used to render a line
Variants
Fetch next token
ProcessToken(Token<'a>)Decide what to do next
Word(Chars<'a>, StyledCharacterIterator<C, F>)Render a word
Whitespace(u32, EmptySpaceIterator<C, F>)Render whitespace
Signal that the renderer has finished, store the token that was consumed but not rendered
Trait Implementations
impl<'a, C: Debug, F: Debug> Debug for LineState<'a, C, F> where
C: PixelColor,
F: Font + Copy, [src]
C: PixelColor,
F: Font + Copy,
Auto Trait Implementations
impl<'a, C, F> RefUnwindSafe for LineState<'a, C, F> where
C: RefUnwindSafe,
F: RefUnwindSafe,
C: RefUnwindSafe,
F: RefUnwindSafe,
impl<'a, C, F> Send for LineState<'a, C, F> where
C: Send,
F: Send,
C: Send,
F: Send,
impl<'a, C, F> Sync for LineState<'a, C, F> where
C: Sync,
F: Sync,
C: Sync,
F: Sync,
impl<'a, C, F> Unpin for LineState<'a, C, F> where
C: Unpin,
F: Unpin,
C: Unpin,
F: Unpin,
impl<'a, C, F> UnwindSafe for LineState<'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>,