asteroidsfactory 0.0.2

Asteroid factory — classify, build and catalogue asteroids of any type: near-Earth, main belt, trojan, centaur, binary, rubble pile, metallic, and potentially hazardous.
Documentation
pub mod binary;
pub mod centaur;
pub mod main_belt;
pub mod metallic;
pub mod near_earth;
pub mod pha;
pub mod rubble_pile;
pub mod trojan;

use binary::BinaryAsteroid;
use centaur::Centaur;
use main_belt::MainBeltAsteroid;
use metallic::MetallicAsteroid;
use near_earth::NearEarthAsteroid;
use pha::PotentiallyHazardousAsteroid;
use rubble_pile::RubblePile;
use trojan::Trojan;

pub enum GeneratedAsteroid {
    NearEarth(NearEarthAsteroid),
    MainBelt(MainBeltAsteroid),
    Trojan(Trojan),
    Centaur(Centaur),
    Binary(BinaryAsteroid),
    RubblePile(RubblePile),
    Metallic(MetallicAsteroid),
    PHA(PotentiallyHazardousAsteroid),
}