mirror of
https://github.com/cccb/servicepoint.git
synced 2025-01-19 02:20:12 +01:00
28 lines
528 B
Rust
28 lines
528 B
Rust
//! C API wrapper for the `servicepoint` crate.
|
|
|
|
pub use servicepoint::{
|
|
CompressionCode, PIXEL_COUNT, PIXEL_HEIGHT, PIXEL_WIDTH, TILE_HEIGHT,
|
|
TILE_SIZE, TILE_WIDTH,
|
|
};
|
|
|
|
pub use crate::c_slice::CByteSlice;
|
|
|
|
pub mod bit_vec;
|
|
|
|
pub mod brightness_grid;
|
|
|
|
pub mod command;
|
|
|
|
pub mod connection;
|
|
|
|
pub mod packet;
|
|
|
|
pub mod pixel_grid;
|
|
|
|
pub mod c_slice;
|
|
|
|
pub mod cp437_grid;
|
|
|
|
/// The minimum time needed for the display to refresh the screen in ms.
|
|
pub const FRAME_PACING_MS: u32 = servicepoint::FRAME_PACING.as_millis() as u32;
|