pub enum Animacy {
Animate,
Inanimate,
Both,
}
Variants§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Animacy
impl<'de> Deserialize<'de> for Animacy
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
source§impl Ord for Animacy
impl Ord for Animacy
source§impl PartialEq for Animacy
impl PartialEq for Animacy
source§impl PartialOrd for Animacy
impl PartialOrd for Animacy
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Animacy
impl Eq for Animacy
impl StructuralPartialEq for Animacy
Auto Trait Implementations§
impl Freeze for Animacy
impl RefUnwindSafe for Animacy
impl Send for Animacy
impl Sync for Animacy
impl Unpin for Animacy
impl UnwindSafe for Animacy
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