use super::*;
#[derive(Clone, Copy, Data, Debug, Default, New, PartialEq)]
pub struct Edges {
#[get(type(copy))]
pub(crate) top: f32,
#[get(type(copy))]
pub(crate) right: f32,
#[get(type(copy))]
pub(crate) bottom: f32,
#[get(type(copy))]
pub(crate) left: f32,
}
#[derive(Clone, Copy, Data, Debug, Default, New, PartialEq)]
pub struct CornerRadius {
#[get(type(copy))]
pub(crate) top_left: f32,
#[get(type(copy))]
pub(crate) top_right: f32,
#[get(type(copy))]
pub(crate) bottom_right: f32,
#[get(type(copy))]
pub(crate) bottom_left: f32,
}
#[derive(Clone, Copy, Data, Debug, Default, New, PartialEq)]
pub struct Point {
#[get(type(copy))]
pub(crate) x: f32,
#[get(type(copy))]
pub(crate) y: f32,
}
#[derive(Clone, Copy, Data, Debug, Default, New, PartialEq)]
pub struct Size {
#[get(type(copy))]
pub(crate) width: f32,
#[get(type(copy))]
pub(crate) height: f32,
}
#[derive(Clone, Copy, Data, Debug, Default, New, PartialEq)]
pub struct Rect {
#[get(type(copy))]
pub(crate) x: f32,
#[get(type(copy))]
pub(crate) y: f32,
#[get(type(copy))]
pub(crate) width: f32,
#[get(type(copy))]
pub(crate) height: f32,
}