Struct rsmorphy::container::initials::Initials [−][src]
pub struct Initials { pub letter: Cow<'static, str>, pub kind: InitialsKind, pub tag_idx: u8, }
Fields
letter: Cow<'static, str>
kind: InitialsKind
tag_idx: u8
Methods
impl Initials
[src]
impl Initials
pub fn iter_lexeme<'s: 'i, 'm: 'i, 'i>(
&'s self,
morph: &'m MorphAnalyzer
) -> impl Iterator<Item = Lex> + 'i
[src]
pub fn iter_lexeme<'s: 'i, 'm: 'i, 'i>(
&'s self,
morph: &'m MorphAnalyzer
) -> impl Iterator<Item = Lex> + 'i
Trait Implementations
impl Debug for Initials
[src]
impl Debug for Initials
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for Initials
[src]
impl Clone for Initials
fn clone(&self) -> Initials
[src]
fn clone(&self) -> Initials
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl PartialEq for Initials
[src]
impl PartialEq for Initials
fn eq(&self, other: &Initials) -> bool
[src]
fn eq(&self, other: &Initials) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Initials) -> bool
[src]
fn ne(&self, other: &Initials) -> bool
This method tests for !=
.
impl Source for Initials
[src]
impl Source for Initials
fn score(&self) -> Score
[src]
fn score(&self) -> Score
fn is_lemma(&self) -> bool
[src]
fn is_lemma(&self) -> bool
fn is_known(&self) -> bool
[src]
fn is_known(&self) -> bool
fn get_word(&self) -> Cow<str>
[src]
fn get_word(&self) -> Cow<str>
fn get_normal_form(&self, _morph: &MorphAnalyzer) -> Cow<str>
[src]
fn get_normal_form(&self, _morph: &MorphAnalyzer) -> Cow<str>
fn get_tag<'a>(&self, morph: &'a MorphAnalyzer) -> &'a OpencorporaTagReg
[src]
fn get_tag<'a>(&self, morph: &'a MorphAnalyzer) -> &'a OpencorporaTagReg
fn try_get_para_id(&self) -> Option<ParadigmId>
[src]
fn try_get_para_id(&self) -> Option<ParadigmId>
fn write_word<W: Write>(&self, f: &mut W) -> Result
[src]
fn write_word<W: Write>(&self, f: &mut W) -> Result
fn write_normal_form<W: Write>(
&self,
f: &mut W,
_morph: &MorphAnalyzer
) -> Result
[src]
fn write_normal_form<W: Write>(
&self,
f: &mut W,
_morph: &MorphAnalyzer
) -> Result
fn get_lexeme(&self, morph: &MorphAnalyzer) -> Vec<Lex>
[src]
fn get_lexeme(&self, morph: &MorphAnalyzer) -> Vec<Lex>
fn get_lemma(&self, morph: &MorphAnalyzer) -> Lex
[src]
fn get_lemma(&self, morph: &MorphAnalyzer) -> Lex
impl MorphySerde for Initials
[src]
impl MorphySerde for Initials
fn encode<W: Write>(&self, f: &mut W) -> Result
[src]
fn encode<W: Write>(&self, f: &mut W) -> Result
fn decode(s: &str) -> Result<(&str, Self), DecodeError>
[src]
fn decode(s: &str) -> Result<(&str, Self), DecodeError>
fn encoded(&self) -> String
[src]
fn encoded(&self) -> String
impl From<Initials> for StackSource
[src]
impl From<Initials> for StackSource