pub struct Horizontal;Expand description
Local horizon coordinate system.
A topocentric frame based on the observer’s local horizon. Uses altitude (elevation above horizon) and azimuth (bearing from north).
Trait Implementations§
Source§impl Clone for Horizontal
impl Clone for Horizontal
Source§fn clone(&self) -> Horizontal
fn clone(&self) -> Horizontal
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 Horizontal
Source§impl Debug for Horizontal
impl Debug for Horizontal
Source§impl Default for Horizontal
impl Default for Horizontal
Source§fn default() -> Horizontal
fn default() -> Horizontal
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for Horizontal
impl<'de> Deserialize<'de> for Horizontal
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<Horizontal, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<Horizontal, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Horizontal
Source§impl PartialEq for Horizontal
impl PartialEq for Horizontal
Source§fn eq(&self, other: &Horizontal) -> bool
fn eq(&self, other: &Horizontal) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl ReferenceFrame for Horizontal
impl ReferenceFrame for Horizontal
Source§impl Serialize for Horizontal
impl Serialize for Horizontal
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Source§impl SphericalNaming for Horizontal
impl SphericalNaming for Horizontal
Source§fn polar_name() -> &'static str
fn polar_name() -> &'static str
Returns the name for the polar/elevation angle (e.g., “dec”, “lat”, “alt”, “b”).
Source§fn azimuth_name() -> &'static str
fn azimuth_name() -> &'static str
Returns the name for the azimuthal angle (e.g., “ra”, “lon”, “az”, “l”).
Source§fn distance_name() -> &'static str
fn distance_name() -> &'static str
Returns the name for the radial distance (e.g., “distance”, “altitude”, “radius”). Read more
impl StructuralPartialEq for Horizontal
Auto Trait Implementations§
impl Freeze for Horizontal
impl RefUnwindSafe for Horizontal
impl Send for Horizontal
impl Sync for Horizontal
impl Unpin for Horizontal
impl UnsafeUnpin for Horizontal
impl UnwindSafe for Horizontal
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> UsingEngine for T
impl<T> UsingEngine for T
Source§fn using<'a, Ctx>(&'a self, engine: &'a Ctx) -> WithEngine<'a, Self, Ctx>where
Ctx: TransformContext,
fn using<'a, Ctx>(&'a self, engine: &'a Ctx) -> WithEngine<'a, Self, Ctx>where
Ctx: TransformContext,
Wrap this coordinate with a custom transform context for the next
transformation call.