Struct screen_framing::Frame
[−]
[src]
pub struct Frame<'a> { /* fields omitted */ }
A captured frame.
Trait Implementations
impl<'a> Image for Frame<'a>
[src]
type Pixel = Rgba
The kind of pixel that the frame is made of.
fn width(&self) -> usize
The width of the frame in pixels.
fn height(&self) -> usize
The height of the frame in pixels.
unsafe fn pixel(&self, x: usize, y: usize) -> Self::Pixel
Gets the pixel at the specified zero-indexed coordinates. Read more