pub enum PartOfSpeech {
Noun,
Verb,
Adjective,
Determiner,
Adverb,
Pronoun,
Preposition,
Conjunction,
Interjection,
Other(MorphStr),
}Expand description
Representation of a part of speech
Variants§
Noun
Verb
Adjective
Determiner
Adverb
Pronoun
Preposition
Conjunction
Interjection
Other(MorphStr)
Other parts of speech that don’t have formal specifiers
Trait Implementations§
Source§impl Clone for PartOfSpeech
impl Clone for PartOfSpeech
Source§fn clone(&self) -> PartOfSpeech
fn clone(&self) -> PartOfSpeech
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 PartOfSpeech
impl Debug for PartOfSpeech
Source§impl Display for PartOfSpeech
impl Display for PartOfSpeech
impl Eq for PartOfSpeech
Source§impl From<&str> for PartOfSpeech
impl From<&str> for PartOfSpeech
Source§impl Hash for PartOfSpeech
impl Hash for PartOfSpeech
Source§impl Ord for PartOfSpeech
impl Ord for PartOfSpeech
Source§fn cmp(&self, other: &PartOfSpeech) -> Ordering
fn cmp(&self, other: &PartOfSpeech) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for PartOfSpeech
impl PartialEq for PartOfSpeech
Source§fn eq(&self, other: &PartOfSpeech) -> bool
fn eq(&self, other: &PartOfSpeech) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for PartOfSpeech
impl PartialOrd for PartOfSpeech
impl StructuralPartialEq for PartOfSpeech
Auto Trait Implementations§
impl Freeze for PartOfSpeech
impl RefUnwindSafe for PartOfSpeech
impl Send for PartOfSpeech
impl Sync for PartOfSpeech
impl Unpin for PartOfSpeech
impl UnsafeUnpin for PartOfSpeech
impl UnwindSafe for PartOfSpeech
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