[][src]Struct alacritty_terminal::term::RenderableCellsIter

pub struct RenderableCellsIter<'a, C> { /* fields omitted */ }

Iterator that yields cells needing render.

Yields cells that require work to be displayed (that is, not a an empty background cell). Additionally, this manages some state of the grid only relevant for rendering like temporarily changing the cell with the cursor.

This manages the cursor during a render. The cursor location is inverted to draw it, and reverted after drawing to maintain state.

Trait Implementations

impl<'a, C> Iterator for RenderableCellsIter<'a, C>[src]

type Item = RenderableCell

The type of the elements being iterated over.

fn next(&mut self) -> Option<Self::Item>[src]

Gets the next renderable cell.

Skips empty (background) cells and applies any flags to the cell state (eg. invert fg and bg colors).

Auto Trait Implementations

impl<'a, C> !RefUnwindSafe for RenderableCellsIter<'a, C>

impl<'a, C> !Send for RenderableCellsIter<'a, C>

impl<'a, C> !Sync for RenderableCellsIter<'a, C>

impl<'a, C> Unpin for RenderableCellsIter<'a, C>

impl<'a, C> !UnwindSafe for RenderableCellsIter<'a, C>

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<I> IntoIterator for I where
    I: Iterator
[src]

type Item = <I as Iterator>::Item

The type of the elements being iterated over.

type IntoIter = I

Which kind of iterator are we turning this into?

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.