pub enum Gender {
Male,
Female,
Other,
}
Expand description
Gender
Variants§
Trait Implementations§
source§impl PartialEq<Gender> for Gender
impl PartialEq<Gender> for Gender
impl Eq for Gender
impl StructuralEq for Gender
impl StructuralPartialEq for Gender
Auto Trait Implementations§
impl RefUnwindSafe for Gender
impl Send for Gender
impl Sync for Gender
impl Unpin for Gender
impl UnwindSafe for Gender
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