1 2 3 4 5 6 7 8 9 10 11
use crate::{LayerColorType, PixelData, Property}; #[derive(Debug, PartialEq)] pub struct Layer { pub width: u32, pub height: u32, pub kind: LayerColorType, pub name: String, pub properties: Vec<Property>, pub pixels: PixelData, }