x11cap
pub struct Capturer { // some fields omitted }
impl Capturer
fn new(screen: Screen) -> Result<Capturer, ()>
fn capture_frame(&mut self) -> Result<(Vec<RGB8>, (u32, u32)), CaptureError>