PointFactory::inner

This commit is contained in:
AF 2023-06-30 18:44:00 +00:00
parent a5a4cadef6
commit 24d10c7f54

View File

@ -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),