pub struct ChartData {
pub planet_positions: Vec<PlanetPosition>,
pub house_cusps_deg: [f64; 12],
pub ascendant_sign_index: usize,
pub ayanamsa_deg: f64,
}Expand description
All data needed to render any chart style.
Fields§
§planet_positions: Vec<PlanetPosition>Planet positions to place in the chart.
house_cusps_deg: [f64; 12]Ecliptic longitude of each house cusp in degrees, index 0 = house 1.
ascendant_sign_index: usize0-based sign index of the ascendant (0 = Aries/Mesha, 11 = Pisces/Meena).
ayanamsa_deg: f64Ayanamsa applied (displayed as annotation).
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ChartData
impl<'de> Deserialize<'de> for ChartData
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ChartData
impl RefUnwindSafe for ChartData
impl Send for ChartData
impl Sync for ChartData
impl Unpin for ChartData
impl UnsafeUnpin for ChartData
impl UnwindSafe for ChartData
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more