src/zero.rs

changeset 19
bc7f268b324a
parent 13
f67949050a32
child 55
15f01efc034b
equal deleted inserted replaced
18:84923812d220 19:bc7f268b324a
11 pub struct ZeroFn<M : ManifoldPoint> { 11 pub struct ZeroFn<M : ManifoldPoint> {
12 _phantoms : PhantomData<M> 12 _phantoms : PhantomData<M>
13 } 13 }
14 14
15 impl<M: ManifoldPoint> ZeroFn<M> { 15 impl<M: ManifoldPoint> ZeroFn<M> {
16 #[allow(dead_code)]
16 pub fn new() -> Self { 17 pub fn new() -> Self {
17 ZeroFn{_phantoms : PhantomData } 18 ZeroFn{_phantoms : PhantomData }
18 } 19 }
19 } 20 }
20 21

mercurial