wip BrightnessGrid

This commit is contained in:
Vinzenz Schroeter 2024-06-23 15:12:03 +02:00
commit c554fbd800
13 changed files with 162 additions and 86 deletions

View file

@ -2,10 +2,12 @@
//!
//! prefix `sp_byte_grid_`
use servicepoint::{ByteGrid, DataRef, Grid};
use servicepoint::{DataRef, Grid, PrimitiveGrid};
use crate::c_slice::CByteSlice;
pub type ByteGrid = PrimitiveGrid<u8>;
/// Creates a new `ByteGrid` with the specified dimensions.
///
/// returns: `ByteGrid` initialized to 0.