[][src]Trait spectrusty::video::frame_cache::VideoFrameDataIterator

pub trait VideoFrameDataIterator: Iterator<Item = (u8, u8)> {
    pub fn next_line(&mut self);
}

Implemented by screen data iterators for rendering an image of a video frame using Renderer.

The iterator emulates the Spectrum's ULA reading two bytes of video data to compose a single cell consisting of 8 pixels.

The first byte returned by the iterator is interpreted as INK/PAPER bit selector (an INK mask) and the second as a color attribute.

Required methods

pub fn next_line(&mut self)[src]

Forwards the iterator to the beginning of the next video line.

Loading content...

Implementors

impl<'a, V> VideoFrameDataIterator for UlaFrameProducer<'a, V>[src]

impl<'a, V, I> VideoFrameDataIterator for Ula128FrameProducer<'a, V, I> where
    V: VideoFrame,
    I: Iterator<Item = VideoTs>, 
[src]

Loading content...