1#[derive(Clone, Debug, Eq, Ord, PartialEq, PartialOrd)] 2pub struct Texture { 3 pub resource : IndexType, 4 pub index : IndexType 5} 6 7pub type IndexType = u16;