Skip to main content

xcf_rs/data/
layer.rs

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