14 lines
439 B
Rust
Executable File
14 lines
439 B
Rust
Executable File
/// Gender is a Pokemon characteristic.
|
|
///
|
|
/// Required for standard pokemon functions, but somewhat controversial nowadays. Consider adding a feature
|
|
/// that allows for a more progressive gender system for those that want it?
|
|
#[derive(Eq, PartialEq, Copy, Clone, Debug)]
|
|
pub enum Gender {
|
|
/// The Pokemon has no gender.
|
|
Genderless = 0,
|
|
/// The Pokemon is male.
|
|
Male = 1,
|
|
/// The Pokemon is female.
|
|
Female = 2,
|
|
}
|