Struct map_model::objects::turn::TurnID[][src]

pub struct TurnID {
    pub parent: IntersectionID,
    pub src: LaneID,
    pub dst: LaneID,
}

Turns are uniquely identified by their (src, dst) lanes and their parent intersection. Intersection is needed to distinguish crosswalks that exist at two ends of a sidewalk.

Fields

parent: IntersectionIDsrc: LaneID

src and dst must both belong to parent. No guarantees that src is incoming and dst is outgoing for turns between sidewalks.

dst: LaneID

Trait Implementations

impl Clone for TurnID[src]

impl Copy for TurnID[src]

impl Debug for TurnID[src]

impl<'de> Deserialize<'de> for TurnID[src]

impl Display for TurnID[src]

impl Eq for TurnID[src]

impl Hash for TurnID[src]

impl Ord for TurnID[src]

impl PartialEq<TurnID> for TurnID[src]

impl PartialOrd<TurnID> for TurnID[src]

impl Serialize for TurnID[src]

impl StructuralEq for TurnID[src]

impl StructuralPartialEq for TurnID[src]

Auto Trait Implementations

impl RefUnwindSafe for TurnID[src]

impl Send for TurnID[src]

impl Sync for TurnID[src]

impl Unpin for TurnID[src]

impl UnwindSafe for TurnID[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> CallHasher for T where
    T: Hash

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<N> NodeTrait for N where
    N: Copy + Ord + Hash
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,