This commit is contained in:
vcoppe
2026-09-23 19:53:39 +02:00
parent a486016d96
commit 497ac120ec
16 changed files with 604 additions and 284 deletions
-13
View File
@@ -12,16 +12,3 @@ pub struct Waypoint {
pub sym: Option<String>,
pub type_: Option<String>,
}
static MAX_CHUNK_SIZE: usize = 128;
#[derive(Debug, Default)]
pub struct WaypointChunk {
pub wpt: Vec<Waypoint>,
}
impl WaypointChunk {
pub fn is_full(&self) -> bool {
self.wpt.len() == MAX_CHUNK_SIZE
}
}