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>,
},
}
Variants§
Implementations§
Trait Implementations§
source§impl PartialEq for EditCmd
impl PartialEq for EditCmd
impl StructuralPartialEq for EditCmd
Auto Trait Implementations§
impl Freeze for EditCmd
impl RefUnwindSafe for EditCmd
impl Send for EditCmd
impl Sync for EditCmd
impl Unpin for EditCmd
impl UnwindSafe for EditCmd
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more