#[repr(u8)]pub enum HeightSensor {
Baro = 0,
Gnss = 1,
Range = 2,
Ev = 3,
Unknown = 4,
}Expand description
Active primary height sensor reference.
Matches PX4’s HeightSensor enum (common.h).
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for HeightSensor
impl Clone for HeightSensor
impl Copy for HeightSensor
Source§impl Debug for HeightSensor
impl Debug for HeightSensor
impl Eq for HeightSensor
Source§impl PartialEq for HeightSensor
impl PartialEq for HeightSensor
impl StructuralPartialEq for HeightSensor
Auto Trait Implementations§
impl Freeze for HeightSensor
impl RefUnwindSafe for HeightSensor
impl Send for HeightSensor
impl Sync for HeightSensor
impl Unpin for HeightSensor
impl UnsafeUnpin for HeightSensor
impl UnwindSafe for HeightSensor
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