pub struct EditRoad {
pub lanes_ltr: Vec<LaneSpec>,
pub speed_limit: Speed,
pub access_restrictions: AccessRestrictions,
pub modal_filter: Option<RoadFilter>,
pub crossings: Vec<Crossing>,
pub turn_restrictions: Vec<(RestrictionType, RoadID)>,
pub complicated_turn_restrictions: Vec<(RoadID, RoadID)>,
}
Fields§
§lanes_ltr: Vec<LaneSpec>
§speed_limit: Speed
§access_restrictions: AccessRestrictions
§modal_filter: Option<RoadFilter>
§crossings: Vec<Crossing>
§turn_restrictions: Vec<(RestrictionType, RoadID)>
§complicated_turn_restrictions: Vec<(RoadID, RoadID)>
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for EditRoad
impl<'de> Deserialize<'de> for EditRoad
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for EditRoad
impl PartialEq for EditRoad
impl StructuralPartialEq for EditRoad
Auto Trait Implementations§
impl Freeze for EditRoad
impl RefUnwindSafe for EditRoad
impl Send for EditRoad
impl Sync for EditRoad
impl Unpin for EditRoad
impl UnwindSafe for EditRoad
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