pub enum SynsetType {
Noun,
Verb,
Adjective,
Adverb,
AdjectiveSatellite,
Unknown(String),
}Variants§
Trait Implementations§
Source§impl Clone for SynsetType
impl Clone for SynsetType
Source§fn clone(&self) -> SynsetType
fn clone(&self) -> SynsetType
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 SynsetType
impl Debug for SynsetType
Source§impl<'de> Deserialize<'de> for SynsetType
impl<'de> Deserialize<'de> for SynsetType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for SynsetType
Source§impl From<&str> for SynsetType
impl From<&str> for SynsetType
Source§impl Ord for SynsetType
impl Ord for SynsetType
Source§fn cmp(&self, other: &SynsetType) -> Ordering
fn cmp(&self, other: &SynsetType) -> 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 SynsetType
impl PartialEq for SynsetType
Source§fn eq(&self, other: &SynsetType) -> bool
fn eq(&self, other: &SynsetType) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for SynsetType
impl PartialOrd for SynsetType
Source§impl Serialize for SynsetType
impl Serialize for SynsetType
impl StructuralPartialEq for SynsetType
Auto Trait Implementations§
impl Freeze for SynsetType
impl RefUnwindSafe for SynsetType
impl Send for SynsetType
impl Sync for SynsetType
impl Unpin for SynsetType
impl UnsafeUnpin for SynsetType
impl UnwindSafe for SynsetType
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