1 2 3 4 5 6 7 8 9 10 11 12
mod shape_2d;
mod shape_3d;
pub use self::{shape_2d::*, shape_3d::*};
/// A shape
#[derive(Clone, Debug)]
#[repr(C)]
pub enum Shape {
Shape2d(Shape2d),
Shape3d(Shape3d),
}
1 2 3 4 5 6 7 8 9 10 11 12
mod shape_2d;
mod shape_3d;
pub use self::{shape_2d::*, shape_3d::*};
/// A shape
#[derive(Clone, Debug)]
#[repr(C)]
pub enum Shape {
Shape2d(Shape2d),
Shape3d(Shape3d),
}