Enum ascom_alpaca::api::EquatorialSystem
source · #[repr(i32)]pub enum EquatorialSystem {
Other,
Topocentric,
J2000,
J2050,
B1950,
}Available on crate feature
telescope only.Expand description
Returned side of pier
Variants§
Other
Custom or unknown equinox and/or reference frame.
Topocentric
Topocentric coordinates. Coordinates of the object at the current date having allowed for annual aberration, precession and nutation. This is the most common coordinate type for amateur telescopes.
J2000
J2000 equator/equinox. Coordinates of the object at mid-day on 1st January 2000, ICRS reference frame.
J2050
J2050 equator/equinox, ICRS reference frame.
B1950
B1950 equinox, FK4 reference frame.
Trait Implementations§
source§impl Clone for EquatorialSystem
impl Clone for EquatorialSystem
source§fn clone(&self) -> EquatorialSystem
fn clone(&self) -> EquatorialSystem
Returns a copy 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 EquatorialSystem
impl Debug for EquatorialSystem
source§impl<'de> Deserialize<'de> for EquatorialSystem
impl<'de> Deserialize<'de> for EquatorialSystem
source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<EquatorialSystem> for i32
impl From<EquatorialSystem> for i32
source§fn from(enum_value: EquatorialSystem) -> Self
fn from(enum_value: EquatorialSystem) -> Self
Converts to this type from the input type.
source§impl PartialEq<EquatorialSystem> for EquatorialSystem
impl PartialEq<EquatorialSystem> for EquatorialSystem
source§fn eq(&self, other: &EquatorialSystem) -> bool
fn eq(&self, other: &EquatorialSystem) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for EquatorialSystem
impl Serialize for EquatorialSystem
source§impl TryFrom<i32> for EquatorialSystem
impl TryFrom<i32> for EquatorialSystem
§type Error = TryFromPrimitiveError<EquatorialSystem>
type Error = TryFromPrimitiveError<EquatorialSystem>
The type returned in the event of a conversion error.
source§impl TryFromPrimitive for EquatorialSystem
impl TryFromPrimitive for EquatorialSystem
impl Copy for EquatorialSystem
impl Eq for EquatorialSystem
impl StructuralEq for EquatorialSystem
impl StructuralPartialEq for EquatorialSystem
Auto Trait Implementations§
impl RefUnwindSafe for EquatorialSystem
impl Send for EquatorialSystem
impl Sync for EquatorialSystem
impl Unpin for EquatorialSystem
impl UnwindSafe for EquatorialSystem
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<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.