From 0bd2ffa42e6ee04608658d8c7517f037ec62617b Mon Sep 17 00:00:00 2001 From: tkl Date: Wed, 15 Jan 2025 10:37:36 +0000 Subject: [PATCH] publish members of `ParseResult` --- src/lib.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index abee497..1768034 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -6,10 +6,10 @@ use nmea_parser::*; #[derive(Debug)] pub struct ParseResult { - lat: f64, - lon: f64, - timestamp: DateTime, - speed: f64 + pub lat: f64, + pub lon: f64, + pub timestamp: DateTime, + pub speed: f64, } pub struct GpsParser {