pub enum EditCmd {
ChangeRoad {
r: RoadID,
old: EditRoad,
new: EditRoad,
},
ChangeIntersection {
i: IntersectionID,
new: EditIntersection,
old: EditIntersection,
},
ChangeRouteSchedule {
id: TransitRouteID,
old: Vec<Time>,
new: Vec<Time>,
},
ChangeCrosswalks {
i: IntersectionID,
old: EditCrosswalks,
new: EditCrosswalks,
},
}
Variants
ChangeRoad
ChangeIntersection
ChangeRouteSchedule
ChangeCrosswalks
Implementations
Trait Implementations
impl StructuralPartialEq for EditCmd
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more