Skip to main content

ttf_view/types/
mod.rs

1#![allow(non_camel_case_types)]
2use zerocopy::network_endian::{I16, I32, U16, U32};
3
4pub type int16 = I16;
5pub type int32 = I32;
6pub type uint16 = U16;
7pub type uint32 = U32;
8
9// These distinctions aren't really necessary, but we'll keep it for better understanding of values
10pub type FWORD = int16;
11pub type UFWORD = uint16;
12
13pub type Offset8 = u8;
14pub type Offset16 = uint16;
15pub type Offset24 = uint24;
16pub type Offset32 = uint32;
17
18mod fixed_point;
19mod longdatetime;
20mod tag;
21mod uint24mod;
22mod version16dot16;
23
24pub use fixed_point::*;
25pub use longdatetime::*;
26pub use tag::*;
27pub use uint24mod::*;
28pub use version16dot16::*;