mirror of
https://github.com/gpxstudio/gpx.studio.git
synced 2026-10-27 10:37:17 +00:00
progress
This commit is contained in:
1 parent
5868595a6c
commit
b7db73cf77
18 files changed
+394
-133
No files matched your search
@@ -11,9 +11,3 @@ pub struct Trackpoint {
|
||||
pub power: Option<u16>,
|
||||
// TODO OSM data? or store intervals at a higher level?
|
||||
}
|
||||
|
||||
impl Trackpoint {
|
||||
pub fn time_diff(&self, other: &Trackpoint) -> Option<i64> {
|
||||
self.time.zip(other.time).map(|(t1, t2)| t1 - t2)
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user