pub struct WordInfoRefData { /* private fields */ }Expand description
wrapper type that indicates inner data are not resolved for the specific lexicon set.
Implementations§
Source§impl WordInfoRefData
impl WordInfoRefData
pub fn from_raw(raw: WordInfoRawData) -> Self
pub fn headword_strptr(&self) -> StringPointer
Sourcepub fn resolve(
self,
dict_id: DictId,
num_system_pos: usize,
pos_offsets: &[usize],
subset: InfoSubset,
) -> WordInfoData
pub fn resolve( self, dict_id: DictId, num_system_pos: usize, pos_offsets: &[usize], subset: InfoSubset, ) -> WordInfoData
Convert into WordInfoData resolving part-of-speech and word references.
Trait Implementations§
Source§impl Clone for WordInfoRefData
impl Clone for WordInfoRefData
Source§fn clone(&self) -> WordInfoRefData
fn clone(&self) -> WordInfoRefData
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 WordInfoRefData
impl Debug for WordInfoRefData
Source§impl Default for WordInfoRefData
impl Default for WordInfoRefData
Source§fn default() -> WordInfoRefData
fn default() -> WordInfoRefData
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for WordInfoRefData
impl RefUnwindSafe for WordInfoRefData
impl Send for WordInfoRefData
impl Sync for WordInfoRefData
impl Unpin for WordInfoRefData
impl UnsafeUnpin for WordInfoRefData
impl UnwindSafe for WordInfoRefData
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