pub struct Dict {
pub version: String,
pub revision: usize,
pub grammemes: Vec<Rc<Grammeme>>,
pub restrictions: Vec<Restriction>,
pub lemmata: Vec<Rc<Lemma>>,
pub link_kinds: Vec<Rc<LinkKind>>,
pub links: Vec<Link>,
}Expand description
Структура содержащая данные словаря.
Fields§
§version: StringВерсия словаря
revision: usizeНомер ревизии
grammemes: Vec<Rc<Grammeme>>Множество граммем
restrictions: Vec<Restriction>Множество правил-ограничений на использование граммем
lemmata: Vec<Rc<Lemma>>Массив лексем
link_kinds: Vec<Rc<LinkKind>>Множество типов связей между лексемами
links: Vec<Link>Множество связей между лексемами
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Dict
impl RefUnwindSafe for Dict
impl !Send for Dict
impl !Sync for Dict
impl Unpin for Dict
impl UnwindSafe for Dict
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