use super::*;
#[derive(Clone, Copy, Data, Debug, PartialEq)]
pub struct PaintEffectEntry {
#[get(skip)]
pub(crate) shadow: Option<Shadow>,
#[get(skip)]
pub(crate) gradient: Option<LinearGradient>,
#[get(type(copy))]
pub(crate) transform: Transform2D,
#[get(skip)]
pub(crate) focus_ring: Option<Border>,
#[get(type(copy))]
pub(crate) backdrop_blur: f32,
}
#[derive(Clone, Data, Debug, Default, PartialEq)]
pub struct EffectTable {
#[get(pub(crate))]
#[get_mut(pub(crate))]
#[set(skip)]
pub(crate) entries: Vec<Option<PaintEffectEntry>>,
#[get(pub(crate))]
#[get_mut(pub(crate))]
#[set(skip)]
pub(crate) free_slots: Vec<u32>,
#[get(pub(crate), type(copy))]
#[get_mut(skip)]
#[set(pub(crate))]
pub(crate) live_count: usize,
}
#[derive(Clone, Copy, Data, Debug, PartialEq)]
pub struct CompactPaintStyle {
#[get(type(copy))]
pub(crate) background: Color,
#[get(type(copy))]
pub(crate) border_color: Color,
#[get(type(copy))]
pub(crate) border_width: f32,
#[get(pub(crate), type(copy))]
#[get_mut(skip)]
#[set(pub(crate))]
pub(crate) radii_q4: [u16; 4],
#[get(type(copy))]
pub(crate) opacity: f32,
#[get(type(copy))]
pub(crate) effect_id: u32,
#[get(type(copy))]
pub(crate) flags: u32,
}