#[repr(C)]pub struct astro_observer_t {
pub latitude: f64,
pub longitude: f64,
pub height: f64,
}Expand description
@brief The location of an observer on (or near) the surface of the Earth.
This structure is passed to functions that calculate phenomena as observed from a particular place on the Earth.
You can create this structure directly, or you can call the convenience function #Astronomy_MakeObserver to create one for you.
Fields§
§latitude: f64< Geographic latitude in degrees north (positive) or south (negative) of the equator.
longitude: f64< Geographic longitude in degrees east (positive) or west (negative) of the prime meridian at Greenwich, England.
height: f64< The height above (positive) or below (negative) sea level, expressed in meters.
Trait Implementations§
Source§impl Clone for astro_observer_t
impl Clone for astro_observer_t
Source§fn clone(&self) -> astro_observer_t
fn clone(&self) -> astro_observer_t
Returns a duplicate of the value. Read more
1.0.0 · 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 astro_observer_t
impl Debug for astro_observer_t
impl Copy for astro_observer_t
Auto Trait Implementations§
impl Freeze for astro_observer_t
impl RefUnwindSafe for astro_observer_t
impl Send for astro_observer_t
impl Sync for astro_observer_t
impl Unpin for astro_observer_t
impl UnwindSafe for astro_observer_t
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