prevent unwanted creation

This commit is contained in:
Corwin Kuiper 2021-06-04 11:45:04 +01:00
parent e7a2faa248
commit 363e032119
2 changed files with 2 additions and 0 deletions

View file

@ -9,6 +9,7 @@ use core::convert::TryInto;
const BITMAP_MODE_3: MemoryMapped2DArray<u16, { WIDTH as usize }, { HEIGHT as usize }> =
unsafe { MemoryMapped2DArray::new(0x600_0000) };
#[non_exhaustive]
pub struct Bitmap3 {}
impl Bitmap3 {

View file

@ -23,6 +23,7 @@ pub enum Page {
Back = 1,
}
#[non_exhaustive]
pub struct Bitmap4 {}
impl Bitmap4 {