[−][src]Enum openaip::AltitudeReference
GND
(ground), MSL
(mean sea level) or STD
(standard atmosphere)
Variants
Ground
Mean sea level
Standard atmosphere
Trait Implementations
impl Debug for AltitudeReference
[src]
impl Eq for AltitudeReference
[src]
impl FromStr for AltitudeReference
[src]
type Err = Error
The associated error which can be returned from parsing.
pub fn from_str(s: &str) -> Result<Self, Self::Err>
[src]
Examples
assert_eq!(AltitudeReference::from_str("GND").unwrap(), AltitudeReference::GND); assert_eq!(AltitudeReference::from_str("STD").unwrap(), AltitudeReference::STD); assert_eq!(AltitudeReference::from_str("MSL").unwrap(), AltitudeReference::MSL); assert!(AltitudeReference::from_str("foobar").is_err());
impl PartialEq<AltitudeReference> for AltitudeReference
[src]
pub fn eq(&self, other: &AltitudeReference) -> bool
[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl StructuralEq for AltitudeReference
[src]
impl StructuralPartialEq for AltitudeReference
[src]
Auto Trait Implementations
impl RefUnwindSafe for AltitudeReference
impl Send for AltitudeReference
impl Sync for AltitudeReference
impl Unpin for AltitudeReference
impl UnwindSafe for AltitudeReference
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,