chiark / gitweb /
shapelib refactoring: Change return type of load1
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Mon, 22 Mar 2021 00:42:28 +0000 (00:42 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Mon, 22 Mar 2021 00:57:19 +0000 (00:57 +0000)
commite5f6ec2b2e2976b144ae6b74201708d569998ced
tree4fddb1f31483589e6df20ab2e46c45e5ffc6b091
parentcdd1cd51b506e92892f028e38b97c547ccef900b
shapelib refactoring: Change return type of load1

We don't want this to be type-erased; we need to reuse it as a
different trait object.

This means making the `Item` struct public, but nothing else about it.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
src/bin/otterlib.rs
src/gamestate.rs
src/shapelib.rs
src/spec.rs