pub struct PlanetPosition {
pub abbreviation: String,
pub house: usize,
pub longitude_deg: f64,
}Expand description
A planet’s position for chart rendering.
Fields§
§abbreviation: StringShort label shown in the chart cell (e.g. “Su”, “Mo”, “Ma”, “Ra”).
house: usizeHouse number 1-12 (the house this planet occupies).
longitude_deg: f64Ecliptic longitude in degrees [0, 360).
Trait Implementations§
Source§impl Clone for PlanetPosition
impl Clone for PlanetPosition
Source§fn clone(&self) -> PlanetPosition
fn clone(&self) -> PlanetPosition
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PlanetPosition
impl Debug for PlanetPosition
Source§impl<'de> Deserialize<'de> for PlanetPosition
impl<'de> Deserialize<'de> for PlanetPosition
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 PlanetPosition
impl RefUnwindSafe for PlanetPosition
impl Send for PlanetPosition
impl Sync for PlanetPosition
impl Unpin for PlanetPosition
impl UnsafeUnpin for PlanetPosition
impl UnwindSafe for PlanetPosition
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