Skip to content

Commit

Permalink
Implement Eq for PixelFormat
Browse files Browse the repository at this point in the history
  • Loading branch information
phil-opp committed Jan 10, 2021
1 parent 3aafb30 commit ba526a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/boot_info.rs
Expand Up @@ -155,7 +155,7 @@ pub struct FrameBufferInfo {
}

/// Color format of pixels in the framebuffer.
#[derive(Debug, Clone, Copy)]
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
#[non_exhaustive]
#[repr(C)]
pub enum PixelFormat {
Expand Down

0 comments on commit ba526a5

Please sign in to comment.