Struct map_model::EditIntersection
source · pub struct EditIntersection {
pub control: EditIntersectionControl,
pub modal_filter: Option<DiagonalFilter>,
pub crosswalks: BTreeMap<TurnID, TurnType>,
}
Fields§
§control: EditIntersectionControl
§modal_filter: Option<DiagonalFilter>
§crosswalks: BTreeMap<TurnID, TurnType>
This must contain all crossing turns at one intersection, each mapped either to Crosswalk or UnmarkedCrossing
Implementations§
source§impl EditIntersection
impl EditIntersection
fn to_permanent(&self, map: &Map) -> PermanentEditIntersection
source§impl EditIntersection
impl EditIntersection
fn diff(&self, other: &EditIntersection) -> Vec<String>
Trait Implementations§
source§impl Clone for EditIntersection
impl Clone for EditIntersection
source§fn clone(&self) -> EditIntersection
fn clone(&self) -> EditIntersection
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for EditIntersection
impl Debug for EditIntersection
source§impl PartialEq for EditIntersection
impl PartialEq for EditIntersection
source§fn eq(&self, other: &EditIntersection) -> bool
fn eq(&self, other: &EditIntersection) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for EditIntersection
Auto Trait Implementations§
impl Freeze for EditIntersection
impl RefUnwindSafe for EditIntersection
impl Send for EditIntersection
impl Sync for EditIntersection
impl Unpin for EditIntersection
impl UnwindSafe for EditIntersection
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