PointFactory::inner
This commit is contained in:
parent
a5a4cadef6
commit
24d10c7f54
@ -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),
|
||||
|
Loading…
Reference in New Issue
Block a user