Enum ascom_alpaca::api::AlignmentMode
source · #[repr(i32)]pub enum AlignmentMode {
AltAz,
Polar,
GermanPolar,
}Available on crate feature
telescope only.Expand description
Returned side of pier
Variants§
AltAz
Altitude-Azimuth alignment.
Polar
Polar (equatorial) mount other than German equatorial.
GermanPolar
German equatorial mount.
Trait Implementations§
source§impl Clone for AlignmentMode
impl Clone for AlignmentMode
source§fn clone(&self) -> AlignmentMode
fn clone(&self) -> AlignmentMode
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 AlignmentMode
impl Debug for AlignmentMode
source§impl<'de> Deserialize<'de> for AlignmentMode
impl<'de> Deserialize<'de> for AlignmentMode
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<AlignmentMode> for i32
impl From<AlignmentMode> for i32
source§fn from(enum_value: AlignmentMode) -> Self
fn from(enum_value: AlignmentMode) -> Self
Converts to this type from the input type.
source§impl PartialEq<AlignmentMode> for AlignmentMode
impl PartialEq<AlignmentMode> for AlignmentMode
source§fn eq(&self, other: &AlignmentMode) -> bool
fn eq(&self, other: &AlignmentMode) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for AlignmentMode
impl Serialize for AlignmentMode
source§impl TryFrom<i32> for AlignmentMode
impl TryFrom<i32> for AlignmentMode
§type Error = TryFromPrimitiveError<AlignmentMode>
type Error = TryFromPrimitiveError<AlignmentMode>
The type returned in the event of a conversion error.
source§impl TryFromPrimitive for AlignmentMode
impl TryFromPrimitive for AlignmentMode
impl Copy for AlignmentMode
impl Eq for AlignmentMode
impl StructuralEq for AlignmentMode
impl StructuralPartialEq for AlignmentMode
Auto Trait Implementations§
impl RefUnwindSafe for AlignmentMode
impl Send for AlignmentMode
impl Sync for AlignmentMode
impl Unpin for AlignmentMode
impl UnwindSafe for AlignmentMode
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.