@@ -3,7 +3,7 @@ use crate::Reader;
33use core:: slice;
44
55/// The VBE Framebuffer information Tag.
6- #[ derive( Debug , PartialEq ) ]
6+ #[ derive( Debug , PartialEq , Eq ) ]
77pub struct FramebufferTag < ' a > {
88 /// Contains framebuffer physical address.
99 ///
@@ -29,7 +29,7 @@ pub struct FramebufferTag<'a> {
2929}
3030
3131/// The type of framebuffer.
32- #[ derive( Debug , PartialEq ) ]
32+ #[ derive( Debug , PartialEq , Eq ) ]
3333pub enum FramebufferType < ' a > {
3434 /// Indexed color.
3535 Indexed {
@@ -55,7 +55,7 @@ pub enum FramebufferType<'a> {
5555}
5656
5757/// An RGB color type field.
58- #[ derive( Debug , PartialEq ) ]
58+ #[ derive( Debug , PartialEq , Eq ) ]
5959pub struct FramebufferField {
6060 /// Color field position.
6161 pub position : u8 ,
@@ -65,7 +65,7 @@ pub struct FramebufferField {
6565}
6666
6767/// A framebuffer color descriptor in the palette.
68- #[ derive( Clone , Copy , Debug , PartialEq ) ]
68+ #[ derive( Clone , Copy , Debug , PartialEq , Eq ) ]
6969#[ repr( C , packed) ] // only repr(C) would add unwanted padding at the end
7070pub struct FramebufferColor {
7171 /// The Red component of the color.
0 commit comments