Struct x11cap::Capturer [-] [+] [src]

pub struct Capturer {
    // some fields omitted
}

Methods

impl Capturer

fn new(screen: Screen) -> Result<Capturer, ()>

fn capture_frame(&mut self) -> Result<(Vec<RGB8>, (u32, u32)), CaptureError>