Enum embedded_text::rendering::State[][src]

pub enum State<'a, C, F, SP, A, V, H> where
    C: PixelColor,
    F: Font + Copy
{ NextLine(Option<Token<'a>>, Cursor<F>, Parser<'a>), DrawLine(StyledLinePixelIterator<'a, C, F, SP, A, V, H>), }

State variable used by the right aligned text renderer.

Variants

NextLine(Option<Token<'a>>, Cursor<F>, Parser<'a>)

Starts processing a line.

DrawLine(StyledLinePixelIterator<'a, C, F, SP, A, V, H>)

Renders the processed line.

Trait Implementations

impl<'a, C: Debug, F: Debug, SP: Debug, A: Debug, V: Debug, H: Debug> Debug for State<'a, C, F, SP, A, V, H> where
    C: PixelColor,
    F: Font + Copy
[src]

Auto Trait Implementations

impl<'a, C, F, SP, A, V, H> RefUnwindSafe for State<'a, C, F, SP, A, V, H> where
    A: RefUnwindSafe,
    C: RefUnwindSafe,
    F: RefUnwindSafe,
    H: RefUnwindSafe,
    SP: RefUnwindSafe,
    V: RefUnwindSafe

impl<'a, C, F, SP, A, V, H> Send for State<'a, C, F, SP, A, V, H> where
    A: Send,
    C: Send,
    F: Send,
    H: Send,
    SP: Send,
    V: Send

impl<'a, C, F, SP, A, V, H> Sync for State<'a, C, F, SP, A, V, H> where
    A: Sync,
    C: Sync,
    F: Sync,
    H: Sync,
    SP: Sync,
    V: Sync

impl<'a, C, F, SP, A, V, H> Unpin for State<'a, C, F, SP, A, V, H> where
    A: Unpin,
    C: Unpin,
    F: Unpin,
    H: Unpin,
    SP: Unpin,
    V: Unpin

impl<'a, C, F, SP, A, V, H> UnwindSafe for State<'a, C, F, SP, A, V, H> where
    A: UnwindSafe,
    C: UnwindSafe,
    F: UnwindSafe,
    H: UnwindSafe,
    SP: UnwindSafe,
    V: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.