rust/hwphysics/src/common.rs
changeset 15263 24828281c9c5
parent 15120 febccab419b1
child 15274 42b710b0f883
--- a/rust/hwphysics/src/common.rs	Wed Jul 24 23:37:58 2019 +0300
+++ b/rust/hwphysics/src/common.rs	Thu Jul 25 00:05:30 2019 +0300
@@ -1,4 +1,4 @@
-pub type GearId = u16;
+pub type GearId = std::num::NonZeroU16;
 pub trait GearData {}
 
 pub trait GearDataProcessor<T: GearData> {