@@ -3,7 +3,7 @@ use crate::Reader;
3
3
use core:: slice;
4
4
5
5
/// The VBE Framebuffer information Tag.
6
- #[ derive( Debug , PartialEq ) ]
6
+ #[ derive( Debug , PartialEq , Eq ) ]
7
7
pub struct FramebufferTag < ' a > {
8
8
/// Contains framebuffer physical address.
9
9
///
@@ -29,7 +29,7 @@ pub struct FramebufferTag<'a> {
29
29
}
30
30
31
31
/// The type of framebuffer.
32
- #[ derive( Debug , PartialEq ) ]
32
+ #[ derive( Debug , PartialEq , Eq ) ]
33
33
pub enum FramebufferType < ' a > {
34
34
/// Indexed color.
35
35
Indexed {
@@ -55,7 +55,7 @@ pub enum FramebufferType<'a> {
55
55
}
56
56
57
57
/// An RGB color type field.
58
- #[ derive( Debug , PartialEq ) ]
58
+ #[ derive( Debug , PartialEq , Eq ) ]
59
59
pub struct FramebufferField {
60
60
/// Color field position.
61
61
pub position : u8 ,
@@ -65,7 +65,7 @@ pub struct FramebufferField {
65
65
}
66
66
67
67
/// A framebuffer color descriptor in the palette.
68
- #[ derive( Clone , Copy , Debug , PartialEq ) ]
68
+ #[ derive( Clone , Copy , Debug , PartialEq , Eq ) ]
69
69
#[ repr( C , packed) ] // only repr(C) would add unwanted padding at the end
70
70
pub struct FramebufferColor {
71
71
/// The Red component of the color.
0 commit comments