Struct rsmorphy::container::stack::hsp::StackParticle [−][src]
pub struct StackParticle { pub stack: StackHyphenated, pub particle: Option<HyphenSeparatedParticle>, }
Fields
stack: StackHyphenated
particle: Option<HyphenSeparatedParticle>
Methods
impl StackParticle
[src]
impl StackParticle
pub fn new<P>(stack: StackHyphenated, particle: P) -> StackParticle where
P: Into<Option<HyphenSeparatedParticle>>,
[src]
pub fn new<P>(stack: StackHyphenated, particle: P) -> StackParticle where
P: Into<Option<HyphenSeparatedParticle>>,
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 StackParticle
[src]
impl Debug for StackParticle
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 StackParticle
[src]
impl Clone for StackParticle
fn clone(&self) -> StackParticle
[src]
fn clone(&self) -> StackParticle
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 StackParticle
[src]
impl PartialEq for StackParticle
fn eq(&self, other: &StackParticle) -> bool
[src]
fn eq(&self, other: &StackParticle) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &StackParticle) -> bool
[src]
fn ne(&self, other: &StackParticle) -> bool
This method tests for !=
.
impl From<StackHyphenated> for StackParticle
[src]
impl From<StackHyphenated> for StackParticle
fn from(stack: StackHyphenated) -> Self
[src]
fn from(stack: StackHyphenated) -> Self
Performs the conversion.
impl From<StackAffix> for StackParticle
[src]
impl From<StackAffix> for StackParticle
fn from(stack: StackAffix) -> Self
[src]
fn from(stack: StackAffix) -> Self
Performs the conversion.
impl From<StackSource> for StackParticle
[src]
impl From<StackSource> for StackParticle
fn from(stack: StackSource) -> Self
[src]
fn from(stack: StackSource) -> Self
Performs the conversion.
impl Source for StackParticle
[src]
impl Source for StackParticle
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<'m>(&self, morph: &'m MorphAnalyzer) -> &'m OpencorporaTagReg
[src]
fn get_tag<'m>(&self, morph: &'m MorphAnalyzer) -> &'m 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 StackParticle
[src]
impl MorphySerde for StackParticle
Auto Trait Implementations
impl Send for StackParticle
impl Send for StackParticle
impl Sync for StackParticle
impl Sync for StackParticle