Struct mavlink::ualberta::GPS_INPUT_DATA
source · pub struct GPS_INPUT_DATA {Show 18 fields
pub time_usec: u64,
pub time_week_ms: u32,
pub lat: i32,
pub lon: i32,
pub alt: f32,
pub hdop: f32,
pub vdop: f32,
pub vn: f32,
pub ve: f32,
pub vd: f32,
pub speed_accuracy: f32,
pub horiz_accuracy: f32,
pub vert_accuracy: f32,
pub ignore_flags: GpsInputIgnoreFlags,
pub time_week: u16,
pub gps_id: u8,
pub fix_type: u8,
pub satellites_visible: u8,
}
Fields§
§time_usec: u64
§time_week_ms: u32
§lat: i32
§lon: i32
§alt: f32
§hdop: f32
§vdop: f32
§vn: f32
§ve: f32
§vd: f32
§speed_accuracy: f32
§horiz_accuracy: f32
§vert_accuracy: f32
§ignore_flags: GpsInputIgnoreFlags
§time_week: u16
§gps_id: u8
§fix_type: u8
§satellites_visible: u8
Implementations§
source§impl GPS_INPUT_DATA
impl GPS_INPUT_DATA
pub const ENCODED_LEN: usize = 63usize
pub const DEFAULT: Self = _
Trait Implementations§
source§impl Clone for GPS_INPUT_DATA
impl Clone for GPS_INPUT_DATA
source§fn clone(&self) -> GPS_INPUT_DATA
fn clone(&self) -> GPS_INPUT_DATA
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 GPS_INPUT_DATA
impl Debug for GPS_INPUT_DATA
source§impl Default for GPS_INPUT_DATA
impl Default for GPS_INPUT_DATA
source§impl<'de> Deserialize<'de> for GPS_INPUT_DATA
impl<'de> Deserialize<'de> for GPS_INPUT_DATA
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 MessageData for GPS_INPUT_DATA
impl MessageData for GPS_INPUT_DATA
type Message = MavMessage
const ID: u32 = 232u32
const NAME: &'static str = "GPS_INPUT"
const EXTRA_CRC: u8 = 151u8
const ENCODED_LEN: usize = 63usize
fn deser(_version: MavlinkVersion, __input: &[u8]) -> Result<Self, ParserError>
fn ser(&self, version: MavlinkVersion, bytes: &mut [u8]) -> usize
source§impl PartialEq for GPS_INPUT_DATA
impl PartialEq for GPS_INPUT_DATA
source§fn eq(&self, other: &GPS_INPUT_DATA) -> bool
fn eq(&self, other: &GPS_INPUT_DATA) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for GPS_INPUT_DATA
impl Serialize for GPS_INPUT_DATA
impl StructuralPartialEq for GPS_INPUT_DATA
Auto Trait Implementations§
impl Freeze for GPS_INPUT_DATA
impl RefUnwindSafe for GPS_INPUT_DATA
impl Send for GPS_INPUT_DATA
impl Sync for GPS_INPUT_DATA
impl Unpin for GPS_INPUT_DATA
impl UnwindSafe for GPS_INPUT_DATA
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)