New structure.

This commit is contained in:
2019-03-17 19:05:56 +01:00
parent daac79b169
commit c472cf7f39
9 changed files with 36 additions and 8 deletions

12
dict/src/lib.rs Normal file
View File

@@ -0,0 +1,12 @@
use isolang::Language;
pub struct Entry {
language: Language,
orthographic: String,
translation: Vec<Translation>,
}
pub struct Translation {
language: Language,
translations: Vec<String>,
}