use super::*;
#[derive(Clone, Data, Debug)]
pub struct DisplayItem {
pub cmd: DrawCmd,
#[get(type(copy))]
pub z: i32,
#[get(type(copy))]
pub element_id: u32,
#[get(skip)]
#[get_mut(pub(crate))]
#[set(pub(crate))]
pub series_index: Option<usize>,
#[get(skip)]
#[get_mut(pub(crate))]
#[set(pub(crate))]
pub data_index: Option<usize>,
}
#[derive(Clone, Data, Debug, Default)]
pub struct DisplayList {
#[get(pub(crate))]
#[get_mut(pub(crate))]
#[set(pub(crate))]
pub(crate) items: Vec<DisplayItem>,
#[get(pub(crate))]
#[get_mut(pub(crate))]
#[set(pub(crate))]
pub(crate) bounds: BBox,
}