[−][src]Struct map_model::edits::MapEdits
Fields
edits_name: String
commands: Vec<EditCmd>
merge_zones: bool
changed_roads: BTreeSet<RoadID>
original_intersections: BTreeMap<IntersectionID, EditIntersection>
changed_routes: BTreeSet<BusRouteID>
proposal_description: Vec<String>
proposal_link: Option<String>
Implementations
impl MapEdits
[src]
pub(crate) fn new() -> MapEdits
[src]
pub fn load(
map: &Map,
path: String,
timer: &mut Timer
) -> Result<MapEdits, String>
[src]
map: &Map,
path: String,
timer: &mut Timer
) -> Result<MapEdits, String>
fn save(&self, map: &Map)
[src]
fn update_derived(&mut self, map: &Map)
[src]
pub fn compress(&mut self, map: &Map)
[src]
pub fn changed_lanes(&self, map: &Map) -> (BTreeSet<LaneID>, BTreeSet<RoadID>)
[src]
Trait Implementations
impl Clone for MapEdits
[src]
impl Debug for MapEdits
[src]
impl Default for MapEdits
[src]
impl PartialEq<MapEdits> for MapEdits
[src]
impl StructuralPartialEq for MapEdits
[src]
Auto Trait Implementations
impl RefUnwindSafe for MapEdits
impl Send for MapEdits
impl Sync for MapEdits
impl Unpin for MapEdits
impl UnwindSafe for MapEdits
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,