facet_generate 0.16.0

Generate Swift, Kotlin and TypeScript from types annotated with `#[derive(Facet)]`
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use facet::Facet;

/// This is a comment.
#[derive(Facet)]
#[repr(C)]
pub enum Source {
    Embedded,
    GoogleFont,
    Custom,
    #[facet(other)]
    Unknown,
}