Rect to be used when trying to send image to lcd screen
| 72 | |
| 73 | /// Rect to be used when trying to send image to lcd screen |
| 74 | pub struct ImageRect { |
| 75 | /// Width of the image |
| 76 | pub w: u16, |
| 77 | |
| 78 | /// Height of the image |
| 79 | pub h: u16, |
| 80 | |
| 81 | /// Data of the image row by row as RGB |
| 82 | pub data: Vec<u8>, |
| 83 | } |
| 84 | |
| 85 | impl ImageRect { |
| 86 | /// Converts image to image rect |
nothing calls this directly
no outgoing calls
no test coverage detected