PointFactory::inner
This commit is contained in:
parent
a5a4cadef6
commit
24d10c7f54
@ -33,6 +33,12 @@ pub struct PointFactory<F> {
|
|||||||
factory: F,
|
factory: F,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
impl<F: Clone> PointFactory<F> {
|
||||||
|
pub fn inner(&self) -> F {
|
||||||
|
self.factory.clone()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
#[derive(Debug)]
|
#[derive(Debug)]
|
||||||
pub enum PointParseError {
|
pub enum PointParseError {
|
||||||
WrongLength(usize),
|
WrongLength(usize),
|
||||||
|
Loading…
Reference in New Issue
Block a user