Skip to main content

auto_update_length

Function auto_update_length 

Source
fn auto_update_length(
    updated: On<'_, '_, UpdateInterval>,
    routes: Populated<'_, '_, &mut Route, With<AutoUpdateLength>>,
    intervals: Query<'_, '_, &Interval>,
    graph: Res<'_, Graph>,
)