pub struct WordInfoData { /* private fields */ }Expand description
wrapper type that indicates inner data are resolved for the specific lexicon set.
Implementations§
Source§impl WordInfoData
impl WordInfoData
Sourcepub fn from_resolved(raw: WordInfoRawData) -> Self
pub fn from_resolved(raw: WordInfoRawData) -> Self
WordRefs in the given WortInfoRawData must be resolved.
pub fn new_oov(pos_id: i16, index_form_length: i16) -> Self
pub fn pos_id(&self) -> u16
pub fn index_form_length(&self) -> usize
pub fn headword_strptr(&self) -> StringPointer
pub fn reading_form_strptr(&self) -> StringPointer
pub fn normalized_form_word_id(&self) -> WordId
pub fn dictionary_form_word_id(&self) -> WordId
pub fn c_unit_split(&self) -> &[WordId]
pub fn b_unit_split(&self) -> &[WordId]
pub fn a_unit_split(&self) -> &[WordId]
pub fn word_structure(&self) -> &[WordId]
pub fn synonym_group_ids(&self) -> &[i32]
pub fn user_data(&self) -> &str
Trait Implementations§
Source§impl Clone for WordInfoData
impl Clone for WordInfoData
Source§fn clone(&self) -> WordInfoData
fn clone(&self) -> WordInfoData
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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
Auto Trait Implementations§
impl Freeze for WordInfoData
impl RefUnwindSafe for WordInfoData
impl Send for WordInfoData
impl Sync for WordInfoData
impl Unpin for WordInfoData
impl UnsafeUnpin 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