Derive Copy for Deflaters
This commit is contained in:
parent
7a5df33027
commit
6d3346702a
1 changed files with 1 additions and 3 deletions
|
|
@ -10,7 +10,7 @@ mod zopfli_oxipng;
|
|||
#[cfg(feature = "zopfli")]
|
||||
pub use zopfli_oxipng::deflate as zopfli_deflate;
|
||||
|
||||
#[derive(Clone, Debug, PartialEq, Eq)]
|
||||
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
|
||||
/// DEFLATE algorithms supported by oxipng
|
||||
pub enum Deflaters {
|
||||
/// Use libdeflater.
|
||||
|
|
@ -27,5 +27,3 @@ pub enum Deflaters {
|
|||
iterations: NonZeroU8,
|
||||
},
|
||||
}
|
||||
|
||||
impl Copy for Deflaters {}
|
||||
|
|
|
|||
Loading…
Reference in a new issue