Implement From<u32> instead of u16 for Length and Pixels
This commit is contained in:
parent
ab236376a3
commit
f3ae4266e9
6 changed files with 23 additions and 26 deletions
|
|
@ -125,7 +125,7 @@ impl fmt::Debug for Rgba {
|
|||
#[derive(Debug, Clone, Copy)]
|
||||
pub enum Size {
|
||||
Original,
|
||||
Thumbnail { width: u16 },
|
||||
Thumbnail { width: u32 },
|
||||
}
|
||||
|
||||
#[derive(Debug, Clone)]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue