1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
pub mod parser; use crate::common::GUID; #[derive(Debug)] pub struct StdFont { } #[derive(Debug)] pub struct TextProps { } #[derive(Debug)] pub enum FormFont { Empty, Unknown1(u32, u32), StdFont(StdFont), TextProps(TextProps), } #[derive(Debug)] pub struct GuidAndFont { pub guid: GUID, pub font: FormFont, } impl GuidAndFont { pub const EMPTY: Self = GuidAndFont{ guid: GUID::EMPTY, font: FormFont::Empty}; }