Skip to main content

Crate kozan_primitives

Crate kozan_primitives 

Source
Expand description

Foundational value types for Kozan.

This crate provides the core geometric and visual primitives used throughout the Kozan UI platform: 2D/3D geometry (Point, Size, Rect), colors (Color), CSS-compatible length units, affine and 3D transforms, and a typed arena allocator. These types are intentionally dependency-free and Copy/Clone where possible, serving as the shared vocabulary between layout, paint, and rendering.

Modules§

arena
Generational arena — O(1) alloc/get/free with stale-handle detection.
color
geometry
rounded_rect
timing
transform
units