diff --git a/src/writers/graphics_320x200x256.rs b/src/writers/graphics_320x200x256.rs index 93e6f2f..fd582f4 100644 --- a/src/writers/graphics_320x200x256.rs +++ b/src/writers/graphics_320x200x256.rs @@ -33,8 +33,8 @@ const SIZE: usize = WIDTH * HEIGHT; /// mode.draw_character(118 + offset * 8, 27, character, 255); /// } /// ``` -#[derive(Default)] -pub struct Graphics320x200x256 {} +#[derive(Debug, Clone, Copy, Default)] +pub struct Graphics320x200x256; impl Screen for Graphics320x200x256 { #[inline] diff --git a/src/writers/graphics_640x480x16.rs b/src/writers/graphics_640x480x16.rs index 8000b6b..e287ce8 100644 --- a/src/writers/graphics_640x480x16.rs +++ b/src/writers/graphics_640x480x16.rs @@ -36,7 +36,7 @@ const WIDTH_IN_BYTES: usize = WIDTH / 8; /// mode.draw_character(270 + offset * 8, 72, character, Color16::White) /// } /// ``` -#[derive(Default)] +#[derive(Debug, Clone, Copy, Default)] pub struct Graphics640x480x16; impl Screen for Graphics640x480x16 { diff --git a/src/writers/text_40x25.rs b/src/writers/text_40x25.rs index 452d2d8..2ead79f 100644 --- a/src/writers/text_40x25.rs +++ b/src/writers/text_40x25.rs @@ -26,7 +26,7 @@ const HEIGHT: usize = 25; /// text_mode.clear_screen(); /// text_mode.write_character(0, 0, screen_character); /// ``` -#[derive(Default)] +#[derive(Debug, Clone, Copy, Default)] pub struct Text40x25; impl Screen for Text40x25 { diff --git a/src/writers/text_40x50.rs b/src/writers/text_40x50.rs index 62b057b..f327905 100644 --- a/src/writers/text_40x50.rs +++ b/src/writers/text_40x50.rs @@ -26,7 +26,7 @@ const HEIGHT: usize = 50; /// text_mode.clear_screen(); /// text_mode.write_character(0, 0, screen_character); /// ``` -#[derive(Default)] +#[derive(Debug, Clone, Copy, Default)] pub struct Text40x50; impl Screen for Text40x50 { diff --git a/src/writers/text_80x25.rs b/src/writers/text_80x25.rs index 72a4354..94aef4f 100644 --- a/src/writers/text_80x25.rs +++ b/src/writers/text_80x25.rs @@ -26,7 +26,7 @@ const HEIGHT: usize = 25; /// text_mode.clear_screen(); /// text_mode.write_character(0, 0, screen_character); /// ``` -#[derive(Default)] +#[derive(Debug, Clone, Copy, Default)] pub struct Text80x25; impl Screen for Text80x25 {