pub struct Aspect {
pub body1: String,
pub body2: String,
pub aspect_type: &'static str,
pub symbol: &'static str,
pub angle: f64,
pub orb: f64,
pub max_orb: f64,
pub is_major: Option<bool>,
pub is_applying: bool,
}Expand description
An aspect between two chart points. Fixed-star conjunctions carry no is_major.
Fields§
§body1: StringFirst point.
body2: StringSecond point.
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: Option<bool>Whether it is a major (Ptolemaic) aspect.
is_applying: boolAlways true, as in the reference implementation.
Trait Implementations§
impl StructuralPartialEq for Aspect
Auto Trait Implementations§
impl Freeze for Aspect
impl RefUnwindSafe for Aspect
impl Send for Aspect
impl Sync for Aspect
impl Unpin for Aspect
impl UnsafeUnpin for Aspect
impl UnwindSafe for Aspect
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