This logically belongs here (and we are going to want to refer to it
from one of the SpecErrors).
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
type TV = toml::Value;
-#[derive(Debug,Clone,Serialize,Deserialize)]
-pub struct ItemSpec {
- pub lib: String,
- pub item: String,
-}
-
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct MultiSpec {
pub lib: String,
pub struct CompassAngle(u8);
//---------- Piece specs ----------
-// the implementations are in pieces.rs
+// the implementations are in shapelib.rs and pieces.rs
+
+#[derive(Debug,Clone,Serialize,Deserialize)]
+pub struct ItemSpec {
+ pub lib: String,
+ pub item: String,
+}
mod outline {
use super::*;