diff --git a/src/rstd/point.rs b/src/rstd/point.rs index f8a8ed6..89e92d1 100644 --- a/src/rstd/point.rs +++ b/src/rstd/point.rs @@ -33,6 +33,12 @@ pub struct PointFactory<F> { factory: F, } +impl<F: Clone> PointFactory<F> { + pub fn inner(&self) -> F { + self.factory.clone() + } +} + #[derive(Debug)] pub enum PointParseError { WrongLength(usize),