vncrs 0.1.3

A pure Rust VNC server library for Windows
Documentation
1
2
3
4
5
6
7
8
9
10
pub mod scrap;

use crate::error::Result;

pub trait ScreenCapture {
    fn width(&self) -> u16;
    fn height(&self) -> u16;
    fn stride(&self) -> usize;
    fn capture_frame(&mut self) -> Result<Option<Vec<u8>>>;
}