Skip to main content

visual_cortex_capture/
lib.rs

1//! Screen capture abstraction: frames, regions, rates, and the `FrameSource` trait.
2
3mod error;
4mod fake;
5mod frame;
6mod rate;
7mod region;
8mod source;
9mod target;
10
11#[cfg(target_os = "macos")]
12mod scap_source;
13#[cfg(target_os = "macos")]
14pub use scap_source::ScapSource;
15
16pub use error::CaptureError;
17pub use fake::FakeSource;
18pub use frame::{Frame, FrameView};
19pub use rate::Rate;
20pub use region::{PxRect, Region};
21pub use source::FrameSource;
22pub use target::Target;