Files
gpx.studio/gpx-rs/src/core/gpx/route.rs
T

15 lines
372 B
Rust
Raw Normal View History

2026-10-31 18:08:22 +01:00
use crate::{TrackInfo, TrackSegment};
use super::common::uuid_id;
uuid_id!(RouteId);
/// A route of the file (`rte`): like a track, but with a single segment, its points.
///
/// It has the information of a track: GPX gives the same to both.
#[derive(Debug, Default, Clone)]
pub struct Route {
pub id: RouteId,
pub info: TrackInfo,
pub seg: TrackSegment,
}