pub struct LocalContact {
pub instant: Instant,
pub altitude_degrees: f64,
pub azimuth_degrees: f64,
pub visible: bool,
}Expand description
One observer-local contact event: its instant plus the eclipsed body’s
horizontal position and visibility there. A contact that occurs below the
horizon is still timed (instant present) but flagged visible == false.
Fields§
§instant: InstantInstant of the contact (TDB).
altitude_degrees: f64Apparent (refracted) altitude of the eclipsed body, degrees.
azimuth_degrees: f64Azimuth of the eclipsed body, measured from south increasing westward,
[0,360) degrees (matches swe_azalt).
visible: boolWhether the body is above the horizon at this instant.
Trait Implementations§
Source§impl Clone for LocalContact
impl Clone for LocalContact
Source§fn clone(&self) -> LocalContact
fn clone(&self) -> LocalContact
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 moreimpl Copy for LocalContact
Source§impl Debug for LocalContact
impl Debug for LocalContact
Source§impl PartialEq for LocalContact
impl PartialEq for LocalContact
impl StructuralPartialEq for LocalContact
Auto Trait Implementations§
impl Freeze for LocalContact
impl RefUnwindSafe for LocalContact
impl Send for LocalContact
impl Sync for LocalContact
impl Unpin for LocalContact
impl UnsafeUnpin for LocalContact
impl UnwindSafe for LocalContact
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