Struct rclrust_msg::sensor_msgs::msg::NavSatFix
source · [−]pub struct NavSatFix {
pub header: Header,
pub status: NavSatStatus,
pub latitude: f64,
pub longitude: f64,
pub altitude: f64,
pub position_covariance: [f64; 9],
pub position_covariance_type: u8,
}
Fields
header: Header
status: NavSatStatus
latitude: f64
longitude: f64
altitude: f64
position_covariance: [f64; 9]
position_covariance_type: u8
Implementations
sourceimpl NavSatFix
impl NavSatFix
pub const COVARIANCE_TYPE_UNKNOWN: u8 = 0u8
pub const COVARIANCE_TYPE_APPROXIMATED: u8 = 1u8
pub const COVARIANCE_TYPE_DIAGONAL_KNOWN: u8 = 2u8
pub const COVARIANCE_TYPE_KNOWN: u8 = 3u8
Trait Implementations
sourceimpl InternalDefault for NavSatFix
impl InternalDefault for NavSatFix
sourceimpl MessageT for NavSatFix
impl MessageT for NavSatFix
type Raw = NavSatFix_Raw
type RawRef = NavSatFix_RawRef
fn type_support() -> *const c_void
unsafe fn from_raw(from: &Self::Raw) -> Self
unsafe fn to_raw_ref(&self) -> Self::RawRef
impl StructuralPartialEq for NavSatFix
Auto Trait Implementations
impl RefUnwindSafe for NavSatFix
impl Send for NavSatFix
impl Sync for NavSatFix
impl Unpin for NavSatFix
impl UnwindSafe for NavSatFix
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more