Struct rsmorphy::container::lex::Lex
[−]
[src]
pub struct Lex { pub stack: Stack, }
Fields
stack: Stack
Methods
impl Lex
[src]
fn from_id<'id, S: 'id>(
_morph: &MorphAnalyzer,
id: S
) -> Result<Self, DecodeError> where
S: Into<&'id str>,
_morph: &MorphAnalyzer,
id: S
) -> Result<Self, DecodeError> where
S: Into<&'id str>,
fn from_stack<S>(_morph: &MorphAnalyzer, stack: S) -> Self where
S: Into<Stack>,
S: Into<Stack>,
fn iter_lexeme<'s: 'i, 'm: 'i, 'i>(
&'s self,
morph: &'m MorphAnalyzer
) -> impl Iterator<Item = Lex> + 'i
&'s self,
morph: &'m MorphAnalyzer
) -> impl Iterator<Item = Lex> + 'i
fn as_seen<'m>(&'m self, morph: &'m MorphAnalyzer) -> Seen<'m>
fn get_plural<'m>(&self, morph: &'m MorphAnalyzer, num: usize) -> Option<Lex>
fn inflect<'m>(
&self,
morph: &MorphAnalyzer,
required: &GrammemeSet
) -> Option<Lex>
&self,
morph: &MorphAnalyzer,
required: &GrammemeSet
) -> Option<Lex>
Trait Implementations
impl Debug for Lex
[src]
impl Clone for Lex
[src]
fn clone(&self) -> Lex
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl PartialEq for Lex
[src]
fn eq(&self, __arg_0: &Lex) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Lex) -> bool
This method tests for !=
.
impl Source for Lex
[src]
fn score(&self) -> Score
fn is_lemma(&self) -> bool
fn is_known(&self) -> bool
fn get_word(&self) -> Cow<str>
fn get_normal_form(&self, morph: &MorphAnalyzer) -> Cow<str>
fn get_tag<'m>(&self, morph: &'m MorphAnalyzer) -> &'m OpencorporaTagReg
fn try_get_para_id(&self) -> Option<u16>
fn write_word<W: Write>(&self, f: &mut W) -> Result
fn write_normal_form<W: Write>(
&self,
f: &mut W,
morph: &MorphAnalyzer
) -> Result
&self,
f: &mut W,
morph: &MorphAnalyzer
) -> Result