forked from AbleOS/ableos_userland
21 lines
219 B
Plaintext
21 lines
219 B
Plaintext
Alias Byte = u8;
|
|
Alias Int = u32;
|
|
|
|
Enumeration Nothing {}
|
|
|
|
Enumeration Option<T> {
|
|
None,
|
|
Some(T)
|
|
}
|
|
|
|
Enumeration Result<T, E> {
|
|
Ok(T),
|
|
Err(E)
|
|
}
|
|
|
|
Structure Version {
|
|
major: Byte,
|
|
minor: Byte,
|
|
patch: Byte,
|
|
}
|