Enum bigbang::planet::PlanetType [] [src]

pub enum PlanetType {
    Rocky,
    Gaseous,
}

PlanetType enumeration

This enumeration contains the planet types available when creating a new planet.

Variants

Rocky

This represents a rocky planet like Earth. Y has a surface where objects and even life can be found.

Gaseous

This represents a gaseous planet, like Jupiter. It has no known surface, and in the case of having it it would be so deep that it supposes nothing for the atmospheric configuration or habitability.

Trait Implementations

impl Debug for PlanetType

fn fmt(&self, f: &mut Formatter) -> Result

Derived Implementations

impl PartialEq for PlanetType

fn eq(&self, __arg_0: &PlanetType) -> bool

fn ne(&self, __arg_0: &PlanetType) -> bool