kaolin 0.1.10

A Rust library for flexible layouts, inspired by Clay
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use crate::kaolin::scope::KaolinScope;

pub trait KaolinRenderer<Color>
where
    Color: Default + Copy + PartialEq + crate::style::KaolinColor<Color>,
{
    fn draw(&mut self, draw_fn: impl Fn(KaolinScope<Color>) -> KaolinScope<Color>);
}

#[cfg(feature = "raylib")]
pub mod raylib;

#[cfg(feature = "embedded")]
pub mod embedded;