Enum map_model::edits::EditIntersection
source · [−]pub enum EditIntersection {
StopSign(ControlStopSign),
TrafficSignal(TrafficSignal),
Closed,
}
Variants
StopSign(ControlStopSign)
TrafficSignal(TrafficSignal)
Closed
Implementations
sourceimpl EditIntersection
impl EditIntersection
fn to_permanent(&self, map: &Map) -> PermanentEditIntersection
Trait Implementations
sourceimpl Clone for EditIntersection
impl Clone for EditIntersection
sourcefn clone(&self) -> EditIntersection
fn clone(&self) -> EditIntersection
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for EditIntersection
impl Debug for EditIntersection
sourceimpl PartialEq<EditIntersection> for EditIntersection
impl PartialEq<EditIntersection> for EditIntersection
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &EditIntersection) -> bool
fn ne(&self, other: &EditIntersection) -> bool
This method tests for !=
.
impl StructuralPartialEq for EditIntersection
Auto Trait Implementations
impl RefUnwindSafe for EditIntersection
impl Send for EditIntersection
impl Sync for EditIntersection
impl Unpin for EditIntersection
impl UnwindSafe for EditIntersection
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more