port encoder context and associated

This commit is contained in:
Henry Schimke
2022-10-26 11:04:35 -05:00
parent edf2b46b78
commit 55f95540f9
10 changed files with 698 additions and 530 deletions

View File

@@ -23,7 +23,7 @@ use crate::Exceptions;
/**
* Simply encapsulates a width and height.
*/
#[derive(Eq, PartialEq, Hash)]
#[derive(Eq, PartialEq, Hash, Copy, Clone)]
pub struct Dimension(usize, usize);
impl Dimension {