agnosticlayer 0.2.0

A cheap, drop-in way to add UI data to your engine — no decisions about which dependency to pull in, no wrestling with how complicated it should be. Built as the tool I wanted for myself, now it's yours.
Documentation
use wibr::New;

use crate::base_data::*;
use crate::node::Node;

#[derive(Debug, Clone, Copy, PartialEq, New, Default)]
pub struct Container<Id: WidgetId> {
    pub node: Node<Id>,
    pub rotate: Rotate,
    pub container_style: ContainerStyle,
    pub color: Color,
    pub visual_mode: VisualMode,
}

#[derive(Debug, Clone, Copy, PartialEq, New, Default)]
pub struct ContainerStyle {
    pub padding: f32,
    pub clip: bool
}