pub struct CrossAspect {
pub body1: String,
pub body1_source: &'static str,
pub body2: String,
pub body2_source: &'static str,
pub aspect_type: &'static str,
pub symbol: &'static str,
pub angle: f64,
pub orb: f64,
pub max_orb: f64,
pub is_major: bool,
pub is_applying: bool,
}Expand description
A cross-aspect between an overlay body (transit, partner) and a base body (natal).
Fields§
§body1: StringOverlay point (transit, partner).
body1_source: &'static strAlways “overlay”.
body2: StringBase point (natal).
body2_source: &'static strAlways “base”.
aspect_type: &'static strAspect name, e.g. “Trine”.
symbol: &'static strAspect glyph, e.g. “△”.
angle: f64Exact angle of the aspect, in degrees.
orb: f64Distance from exactness, in degrees (rounded to 0.01).
max_orb: f64Largest orb allowed for this pair and aspect, in degrees.
is_major: boolWhether it is a major (Ptolemaic) aspect.
is_applying: boolAlways true, as in the reference implementation.
Trait Implementations§
Source§impl Clone for CrossAspect
impl Clone for CrossAspect
Source§impl Debug for CrossAspect
impl Debug for CrossAspect
Source§impl PartialEq for CrossAspect
impl PartialEq for CrossAspect
Source§impl Serialize for CrossAspect
impl Serialize for CrossAspect
impl StructuralPartialEq for CrossAspect
Auto Trait Implementations§
impl Freeze for CrossAspect
impl RefUnwindSafe for CrossAspect
impl Send for CrossAspect
impl Sync for CrossAspect
impl Unpin for CrossAspect
impl UnsafeUnpin for CrossAspect
impl UnwindSafe for CrossAspect
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