planet_generator 0.0.7-pre-alpha

[WIP] Generates data for galaxies, sectors, solar systems, planets and their inhabitants (Check README for features list).
Documentation
use crate::internal::*;
use crate::prelude::*;
pub mod generator;
pub mod types;

#[derive(Clone, PartialEq, PartialOrd, Debug, Serialize, Deserialize)]
pub struct CelestialRingDetails {
    /// Specific ring details
    pub level: CelestialRingLevel,
    /// What the ring is made of
    pub composition: CelestialRingComposition,
}

impl CelestialRingDetails {
    /// Creates a new [CelestialRingDetails].
    pub fn new(level: CelestialRingLevel, composition: CelestialRingComposition) -> Self {
        Self { level, composition }
    }
}