textyle 0.2.0

A text-based declarative UI library inspired by SwiftUI
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
// Taken from https://docs.rs/map-macro/latest/src/map_macro/lib.rs.html#140-144
#[macro_export]
macro_rules! hash_set {
    {$($v: expr),* $(,)?} => {
        std::collections::HashSet::from([$($v,)*])
    };
}

pub mod layout;
pub mod canvas;
pub mod animation;
pub mod rendering;