Enum rsmorphy::container::stack::Stack
[−]
[src]
pub enum Stack { HSP(StackParticle), Hyphenated(StackHyphenated), Affix(StackAffix), Source(StackSource), }
Variants
HSP(StackParticle)
Hyphenated(StackHyphenated)
Affix(StackAffix)
Source(StackSource)
Methods
impl Stack
[src]
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
impl Stack
[src]
fn try_as_hsp(&self) -> Option<&StackParticle>
fn try_as_hword(&self) -> Option<&StackHyphenated>
fn try_as_affix(&self) -> Option<&StackAffix>
fn try_as_source(&self) -> Option<&StackSource>
Trait Implementations
impl Debug for Stack
[src]
impl Clone for Stack
[src]
fn clone(&self) -> Stack
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 Stack
[src]
fn eq(&self, __arg_0: &Stack) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Stack) -> bool
This method tests for !=
.
impl From<StackHyphenated> for Stack
[src]
fn from(v: StackHyphenated) -> Self
Performs the conversion.
impl From<StackParticle> for Stack
[src]
fn from(v: StackParticle) -> Self
Performs the conversion.
impl From<StackAffix> for Stack
[src]
fn from(v: StackAffix) -> Self
Performs the conversion.
impl From<StackSource> for Stack
[src]
fn from(v: StackSource) -> Self
Performs the conversion.
impl Source for Stack
[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<'a>(&self, morph: &'a MorphAnalyzer) -> &'a 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