#[repr(u8)]pub enum Gender {
Male = 0,
Female = 1,
}
Expand description
Gender of the character.
Variants§
Trait Implementations§
source§impl PartialEq for Gender
impl PartialEq for Gender
impl Eq for Gender
impl StructuralPartialEq for Gender
Auto Trait Implementations§
impl Freeze for Gender
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