use Index;
use *;
/*impl Index<Orientation> for Weight {
type Output = WeightAxis;
#[inline]
fn index(&self, i: Orientation) -> &Self::Output {
match i {
Orientation::Horizontal => &self.x,
Orientation::Vertical => &self.y,
}
}
}*/