pub enum Entity {
Language {
id: Spanned<String>,
name: Option<Spanned<String>>,
parent: Option<Spanned<String>>,
},
Word {
gloss: Spanned<String>,
pronunciation: Spanned<Vec<String>>,
definitions: Vec<Definition>,
tag: Tag,
},
Class {
label: Spanned<String>,
encodes: Vec<Spanned<String>>,
annotates: Vec<Spanned<String>>,
phonemes: Vec<String>,
},
Phoneme {
class: Spanned<String>,
label: Spanned<String>,
traits: Vec<Spanned<String>>,
},
Series {
label: Spanned<String>,
series: Spanned<Series>,
},
Trait {
label: Spanned<String>,
members: Vec<TraitMember>,
},
TraitMember {
label: Spanned<String>,
aliases: Vec<Spanned<String>>,
default: bool,
notation: Option<Spanned<String>>,
},
}
Variants§
Trait Implementations§
impl StructuralPartialEq for Entity
Auto Trait Implementations§
impl Freeze for Entity
impl RefUnwindSafe for Entity
impl Send for Entity
impl Sync for Entity
impl Unpin for Entity
impl UnwindSafe for Entity
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more