Skip to content

Commit ba526a5

Browse files
committed
Implement Eq for PixelFormat
1 parent 3aafb30 commit ba526a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/boot_info.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ pub struct FrameBufferInfo {
155155
}
156156

157157
/// Color format of pixels in the framebuffer.
158-
#[derive(Debug, Clone, Copy)]
158+
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
159159
#[non_exhaustive]
160160
#[repr(C)]
161161
pub enum PixelFormat {

0 commit comments

Comments
 (0)