pub enum AnimalIdentifier {
Dog,
Cat,
}Expand description
Mirrors VNAnimalIdentifier.
Variants§
Implementations§
Trait Implementations§
Source§impl AsRef<str> for AnimalIdentifier
impl AsRef<str> for AnimalIdentifier
Source§impl Clone for AnimalIdentifier
impl Clone for AnimalIdentifier
Source§fn clone(&self) -> AnimalIdentifier
fn clone(&self) -> AnimalIdentifier
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 AnimalIdentifier
impl Debug for AnimalIdentifier
Source§impl Display for AnimalIdentifier
impl Display for AnimalIdentifier
Source§impl Hash for AnimalIdentifier
impl Hash for AnimalIdentifier
Source§impl PartialEq for AnimalIdentifier
impl PartialEq for AnimalIdentifier
Source§fn eq(&self, other: &AnimalIdentifier) -> bool
fn eq(&self, other: &AnimalIdentifier) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for AnimalIdentifier
impl Eq for AnimalIdentifier
impl StructuralPartialEq for AnimalIdentifier
Auto Trait Implementations§
impl Freeze for AnimalIdentifier
impl RefUnwindSafe for AnimalIdentifier
impl Send for AnimalIdentifier
impl Sync for AnimalIdentifier
impl Unpin for AnimalIdentifier
impl UnsafeUnpin for AnimalIdentifier
impl UnwindSafe for AnimalIdentifier
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