Enum xplane_sys::XPLMProbeResult
source · #[non_exhaustive]#[repr(u32)]pub enum XPLMProbeResult {
HitTerrain = 0,
Error = 1,
Missed = 2,
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
source§impl Clone for XPLMProbeResult
impl Clone for XPLMProbeResult
source§fn clone(&self) -> XPLMProbeResult
fn clone(&self) -> XPLMProbeResult
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 XPLMProbeResult
impl Debug for XPLMProbeResult
source§impl Hash for XPLMProbeResult
impl Hash for XPLMProbeResult
source§impl PartialEq for XPLMProbeResult
impl PartialEq for XPLMProbeResult
source§fn eq(&self, other: &XPLMProbeResult) -> bool
fn eq(&self, other: &XPLMProbeResult) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for XPLMProbeResult
impl Eq for XPLMProbeResult
impl StructuralEq for XPLMProbeResult
impl StructuralPartialEq for XPLMProbeResult
Auto Trait Implementations§
impl RefUnwindSafe for XPLMProbeResult
impl Send for XPLMProbeResult
impl Sync for XPLMProbeResult
impl Unpin for XPLMProbeResult
impl UnwindSafe for XPLMProbeResult
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