Use usize and u32 for LayerId.

This commit is contained in:
Ms2ger 2015-03-27 17:55:20 +01:00
parent ac3c076892
commit 37c271a260
3 changed files with 6 additions and 9 deletions

View file

@ -44,7 +44,7 @@ impl Epoch {
}
#[derive(Clone, PartialEq, Eq, Copy)]
pub struct LayerId(pub uint, pub uint);
pub struct LayerId(pub usize, pub u32);
impl Debug for LayerId {
fn fmt(&self, f: &mut Formatter) -> fmt::Result {