pub enum Gender {
Male,
Female,
}
Variants§
Trait Implementations§
source§impl Ord for Gender
impl Ord for Gender
source§impl PartialEq for Gender
impl PartialEq for Gender
source§impl PartialOrd for Gender
impl PartialOrd for Gender
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 Gender
impl Eq 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