diff --git a/src/backend.rs b/src/backend.rs index 015d6fd8..aa620643 100644 --- a/src/backend.rs +++ b/src/backend.rs @@ -82,7 +82,7 @@ pub struct CaptureRegion { } /// Supported image encoding formats. -#[derive(Debug, Copy, Clone, PartialEq)] +#[derive(Debug, Copy, Clone, PartialEq, Eq)] pub enum EncodingFormat { /// Jpeg / jpg encoder. Jpg,