use crate::Primitive; use std::sync::Arc; #[derive(Debug)] pub struct Geometry(Arc); impl Geometry { pub(crate) fn from_primitive(primitive: Arc) -> Self { Self(primitive) } pub(crate) fn into_primitive(self) -> Arc { self.0 } }