Commit graph

15 commits

Author SHA1 Message Date
Vinzenz Schroeter 8adf563320 move more grid functionality into trait 2024-05-18 14:11:20 +02:00
Vinzenz Schroeter d5e08faeb1 move data_ref to trait 2024-05-18 11:11:15 +02:00
Vinzenz Schroeter bcf040911d move grid functions to trait 2024-05-18 10:54:12 +02:00
Vinzenz Schroeter 314bec36f3 cargo fmt, clippy 2024-05-18 00:01:28 +02:00
Vinzenz Schroeter 6a2ee5fcfa add better panic messages on oob index 2024-05-17 23:48:30 +02:00
Vinzenz Schroeter 36fc109d91 add more unit tests 2024-05-17 21:23:56 +02:00
Vinzenz Schroeter 5a717beda5 make width and height private to make it read only 2024-05-17 18:43:39 +02:00
Vinzenz Schroeter ab66a6a33e unit tests for round trip command and packet, fix bugs and add needed derivations 2024-05-17 18:36:18 +02:00
Vinzenz Schroeter 8307354a58 cargo fmt 2024-05-16 23:18:43 +02:00
Vinzenz Schroeter 862804de3b rename c-api to c_api 2024-05-16 23:03:39 +02:00
Vinzenz Schroeter 1dad113ca1 a bunch of minor changes combined:
- From instead of Into
- unsafe_data_ref for other payloads
- CByteSlice for returning memory spans
- send Packet instead of Into<Packet>
- expose packet layer to C/C#
2024-05-15 20:34:51 +02:00
Vinzenz Schroeter ea7061db7f add possibility to get a reference to the raw data of PixelGrid 2024-05-13 01:26:44 +02:00
Vinzenz Schroeter 4bb505650c fix c api, add usage example 2024-05-12 18:28:53 +02:00
Vinzenz Schroeter 98e8a6d639 add c api 2024-05-12 17:15:30 +02:00
Vinzenz Schroeter 01d1f1dad0 one workspace for everything 2024-05-12 14:01:49 +02:00
Renamed from src/pixel_grid.rs (Browse further)