mirror of
https://github.com/servo/servo
synced 2026-05-05 06:32:13 +02:00
move struct ImageMetadata to a better place
This commit is contained in:
@@ -220,12 +220,6 @@ pub enum PixelFormat {
|
||||
RGBA8, // RGB + alpha, 8 bits per channel
|
||||
}
|
||||
|
||||
#[derive(Clone, Deserialize, Eq, PartialEq, Serialize, HeapSizeOf)]
|
||||
pub struct ImageMetadata {
|
||||
pub width: u32,
|
||||
pub height: u32,
|
||||
}
|
||||
|
||||
#[derive(Clone, Deserialize, Serialize, HeapSizeOf)]
|
||||
pub struct Image {
|
||||
pub width: u32,
|
||||
|
||||
Reference in New Issue
Block a user