2023-05-05 06:21:24 -05:00
|
|
|
Alias Byte = U8;
|
|
|
|
Alias Int = U32;
|
|
|
|
Alias String = Vector<Byte>;
|
2023-05-04 02:27:04 -05:00
|
|
|
|
2023-05-05 06:21:24 -05:00
|
|
|
Enumeration Boolean {
|
2023-05-04 02:27:04 -05:00
|
|
|
False = 0,
|
|
|
|
True = 1,
|
|
|
|
}
|
|
|
|
|
2023-05-05 06:21:24 -05:00
|
|
|
Enumeration Nothing {}
|
|
|
|
|
|
|
|
Enumeration Option<T> {
|
|
|
|
None,
|
|
|
|
Some(T)
|
2023-05-04 02:27:04 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
Structure Version {
|
2023-05-05 09:15:38 -05:00
|
|
|
major: Byte,
|
|
|
|
minor: Byte,
|
|
|
|
patch: Byte,
|
2023-05-05 06:21:24 -05:00
|
|
|
}
|