pub enum PartOfSpeech {
Noun,
Adjective,
Adverb,
Verb,
}
Expand description
An enum representing all possible parts of speech returned from the api
Variants§
Trait Implementations§
Source§impl Clone for PartOfSpeech
impl Clone for PartOfSpeech
Source§fn clone(&self) -> PartOfSpeech
fn clone(&self) -> PartOfSpeech
Returns a copy of the value. Read more
1.0.0 · 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 PartialEq for PartOfSpeech
impl PartialEq for PartOfSpeech
impl Copy 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 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