astroceleste_engine/catalog/
mod.rs1use serde::Serialize;
4
5#[allow(clippy::all)]
6#[rustfmt::skip]
7mod degree_qualities;
8#[allow(clippy::all)]
9#[rustfmt::skip]
10mod derived_meanings;
11#[allow(clippy::all)]
12#[rustfmt::skip]
13mod fixed_stars;
14#[allow(clippy::all)]
15#[rustfmt::skip]
16mod mansions;
17
18pub use degree_qualities::DEGREE_QUALITIES;
19pub use derived_meanings::{DERIVED_HOUSE_MEANINGS, ROOT_HOUSE_THEMES};
20pub use fixed_stars::FIXED_STARS;
21pub use mansions::LUNAR_MANSIONS;
22
23#[derive(Debug, Clone, Copy, PartialEq)]
25pub struct FixedStar {
26 pub name: &'static str,
27 pub symbol: &'static str,
28 pub j2000_lon: f64,
29 pub j2000_lat: f64,
30 pub magnitude: f64,
31}
32
33#[derive(Debug, Clone, Copy, PartialEq, Serialize)]
35pub struct LunarMansion {
36 pub number: u8,
38 pub arabic_name: &'static str,
40 pub name: &'static str,
42 pub sign: &'static str,
44 pub degree_start: f64,
46 pub degree_end: f64,
48}
49
50#[derive(Debug, Clone, Copy, PartialEq, Serialize)]
52pub struct Meaning {
53 pub en: &'static str,
54 pub it: &'static str,
55}
56
57#[derive(Debug, Clone, Copy, PartialEq, Serialize)]
60pub struct DegreeRun {
61 pub quality: &'static str,
63 pub end: u8,
65}
66
67#[derive(Debug, Clone, Copy, PartialEq, Serialize)]
70pub struct SignDegrees {
71 pub sign: &'static str,
73 pub gender: &'static [DegreeRun],
75 pub light: &'static [DegreeRun],
77 pub pitted: &'static [u8],
79 pub azimene: &'static [u8],
81 pub fortune: &'static [u8],
83}