Registry / other / io-surface

io-surface

JSON →
library0.16.1rscratesunverified

Bindings to IO Surface for macOS.

# Cargo.toml [dependencies] io-surface = "0.16.1"
INSTALL
IMPORT
SIG · IO-SURFACE
I
io-surface
otherrustv0.16.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

IOSurface
use io_surface::IOSurface;

Creates an IOSurface with specified dimensions and pixel format.

use io_surface::IOSurface; fn main() { let _surface = IOSurface::new(100, 100, 0x00000000).unwrap(); }
Debug
Known issues
gotchamacOS only
fix
This crate only works on macOS.
affects: >=0.16.0
Upgrade
Version history
0.16.1latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
io-surface — cargo add io-surface · libregistry