pub struct WordInfoData {
    pub surface: String,
    pub head_word_length: u16,
    pub pos_id: u16,
    pub normalized_form: String,
    pub dictionary_form_word_id: i32,
    pub dictionary_form: String,
    pub reading_form: String,
    pub a_unit_split: Vec<WordId>,
    pub b_unit_split: Vec<WordId>,
    pub word_structure: Vec<WordId>,
    pub synonym_group_ids: Vec<u32>,
}Expand description
Internal storage of the WordInfo.
It is not accessible by default, but a WordInfo can be created from it:
let wi: WordInfo = data.into();
String fields CAN be empty, in this case the value of the surface field should be used instead
Fields§
§surface: String§head_word_length: u16§pos_id: u16§normalized_form: String§dictionary_form_word_id: i32§dictionary_form: String§reading_form: String§a_unit_split: Vec<WordId>§b_unit_split: Vec<WordId>§word_structure: Vec<WordId>§synonym_group_ids: Vec<u32>Trait Implementations§
Source§impl Clone for WordInfoData
 
impl Clone for WordInfoData
Source§fn clone(&self) -> WordInfoData
 
fn clone(&self) -> WordInfoData
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from 
source. Read moreSource§impl Debug for WordInfoData
 
impl Debug for WordInfoData
Source§impl Default for WordInfoData
 
impl Default for WordInfoData
Source§fn default() -> WordInfoData
 
fn default() -> WordInfoData
Returns the “default value” for a type. Read more
Source§impl From<WordInfo> for WordInfoData
 
impl From<WordInfo> for WordInfoData
Source§impl From<WordInfoData> for WordInfo
 
impl From<WordInfoData> for WordInfo
Source§fn from(data: WordInfoData) -> Self
 
fn from(data: WordInfoData) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for WordInfoData
impl RefUnwindSafe for WordInfoData
impl Send for WordInfoData
impl Sync for WordInfoData
impl Unpin for WordInfoData
impl UnwindSafe for WordInfoData
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
Source§impl<T> CloneToUninit for Twhere
    T: Clone,
 
impl<T> CloneToUninit for Twhere
    T: Clone,
Source§impl<T> IntoEither for T
 
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
 
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts 
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
 
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts 
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more