Struct map_model::MovementID [−][src]
pub struct MovementID { pub from: DirectedRoadID, pub to: DirectedRoadID, pub parent: IntersectionID, pub crosswalk: bool, }
A movement is like a turn, but with less detail – it identifies a movement from one directed road to another. One road usually has 4 crosswalks, each a singleton Movement. We need all of the information here to keep each crosswalk separate.
Fields
from: DirectedRoadID
to: DirectedRoadID
parent: IntersectionID
crosswalk: bool
Implementations
Trait Implementations
impl Clone for MovementID
[src]
impl Clone for MovementID
[src]fn clone(&self) -> MovementID
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'de> Deserialize<'de> for MovementID
[src]
impl<'de> Deserialize<'de> for MovementID
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Hash for MovementID
[src]
impl Hash for MovementID
[src]impl Ord for MovementID
[src]
impl Ord for MovementID
[src]impl PartialEq<MovementID> for MovementID
[src]
impl PartialEq<MovementID> for MovementID
[src]fn eq(&self, other: &MovementID) -> bool
[src]
fn ne(&self, other: &MovementID) -> bool
[src]
impl PartialOrd<MovementID> for MovementID
[src]
impl PartialOrd<MovementID> for MovementID
[src]impl Serialize for MovementID
[src]
impl Serialize for MovementID
[src]impl Copy for MovementID
[src]
impl Eq for MovementID
[src]
impl StructuralEq for MovementID
[src]
impl StructuralPartialEq for MovementID
[src]
Auto Trait Implementations
impl RefUnwindSafe for MovementID
impl Send for MovementID
impl Sync for MovementID
impl Unpin for MovementID
impl UnwindSafe for MovementID
Blanket Implementations
impl<T> CallHasher for T where
T: Hash,
impl<T> CallHasher for T where
T: Hash,
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]pub fn equivalent(&self, key: &K) -> bool
[src]
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
pub fn vzip(self) -> V
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<N> NodeTrait for N where
N: Copy + Ord + Hash,
[src]
N: Copy + Ord + Hash,