pub struct Home {Show 23 fields
pub longitude: f64,
pub latitude: f64,
pub altitude: f32,
pub is_home_record: bool,
pub go_home_mode: GoHomeMode,
pub aircraft_head_direction: u8,
pub is_dynamic_home_point_enabled: bool,
pub is_near_distance_limit: bool,
pub is_near_height_limit: bool,
pub is_multiple_mode_open: bool,
pub has_go_home: bool,
pub compass_state: CompassCalibrationState,
pub is_compass_adjust: bool,
pub is_beginner_mode: bool,
pub is_ioc_open: bool,
pub ioc_mode: IOCMode,
pub go_home_height: u16,
pub ioc_course_lock_angle: i16,
pub flight_record_sd_state: u8,
pub record_sd_capacity_percent: u8,
pub record_sd_left_time: u16,
pub current_flight_record_index: u16,
pub max_allowed_height: f32,
}Fields§
§longitude: f64degrees
latitude: f64degrees
altitude: f32meters
is_home_record: bool§go_home_mode: GoHomeMode§aircraft_head_direction: u8§is_dynamic_home_point_enabled: bool§is_near_distance_limit: bool§is_near_height_limit: bool§is_multiple_mode_open: bool§has_go_home: bool§compass_state: CompassCalibrationState§is_compass_adjust: bool§is_beginner_mode: bool§is_ioc_open: bool§ioc_mode: IOCMode§go_home_height: u16§ioc_course_lock_angle: i16§flight_record_sd_state: u8§record_sd_capacity_percent: u8§record_sd_left_time: u16§current_flight_record_index: u16§max_allowed_height: f32Trait Implementations§
Source§impl BinRead for Home
impl BinRead for Home
Source§type Args<'__binrw_generated_args_lifetime> = HomeBinReadArgs
type Args<'__binrw_generated_args_lifetime> = HomeBinReadArgs
Source§fn read_options<R: Read + Seek>(
__binrw_generated_var_reader: &mut R,
__binrw_generated_var_endian: Endian,
__binrw_generated_var_arguments: Self::Args<'_>,
) -> BinResult<Self>
fn read_options<R: Read + Seek>( __binrw_generated_var_reader: &mut R, __binrw_generated_var_endian: Endian, __binrw_generated_var_arguments: Self::Args<'_>, ) -> BinResult<Self>
Source§fn read_args<R>(reader: &mut R, args: Self::Args<'_>) -> Result<Self, Error>
fn read_args<R>(reader: &mut R, args: Self::Args<'_>) -> Result<Self, Error>
Read
Self from the reader using the given arguments. Read moreSource§fn read_be_args<R>(reader: &mut R, args: Self::Args<'_>) -> Result<Self, Error>
fn read_be_args<R>(reader: &mut R, args: Self::Args<'_>) -> Result<Self, Error>
Read
Self from the reader, assuming big-endian byte order, using the
given arguments. Read moreSource§impl ReadEndian for Home
impl ReadEndian for Home
Source§const ENDIAN: EndianKind
const ENDIAN: EndianKind
The endianness of the type.
Auto Trait Implementations§
impl Freeze for Home
impl RefUnwindSafe for Home
impl Send for Home
impl Sync for Home
impl Unpin for Home
impl UnwindSafe for Home
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