Enum map_model::edits::EditCmd [−][src]
pub enum EditCmd { ChangeRoad { r: RoadID, old: EditRoad, new: EditRoad, }, ChangeIntersection { i: IntersectionID, new: EditIntersection, old: EditIntersection, }, ChangeRouteSchedule { id: BusRouteID, old: Vec<Time>, new: Vec<Time>, }, }
Variants
Show fields
Fields of ChangeIntersection
Show fields
Fields of ChangeRouteSchedule
Implementations
impl EditCmd
[src]
impl EditCmd
[src]pub fn to_perma(&self, map: &Map) -> PermanentEditCmd
[src]
impl EditCmd
[src]
impl EditCmd
[src]Trait Implementations
impl StructuralPartialEq for EditCmd
[src]
Auto Trait Implementations
impl RefUnwindSafe for EditCmd
impl Send for EditCmd
impl Sync for EditCmd
impl Unpin for EditCmd
impl UnwindSafe for EditCmd
Blanket Implementations
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,