1
0
Fork 0
forked from wry/wry

autocommit 2022-02-14 21:13:42 CET

This commit is contained in:
Julian Orth 2022-02-14 21:13:42 +01:00
parent 9b8e1ac29f
commit da6b29f138
44 changed files with 5903 additions and 364 deletions

View file

@ -168,6 +168,11 @@ macro_rules! linear_ids {
pub fn raw(&self) -> u32 {
self.0
}
#[allow(dead_code)]
pub fn from_raw(id: u32) -> Self {
Self(id)
}
}
impl std::fmt::Display for $id {