Struct map_model::CompressedMovementID[][src]

pub struct CompressedMovementID {
    pub i: IntersectionID,
    pub idx: u8,
}

This is cheaper to store than a MovementID. It simply indexes into the list of movements.

Fields

i: IntersectionIDidx: u8

Trait Implementations

impl Clone for CompressedMovementID[src]

impl Copy for CompressedMovementID[src]

impl Debug for CompressedMovementID[src]

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

impl Eq for CompressedMovementID[src]

impl Hash for CompressedMovementID[src]

impl Ord for CompressedMovementID[src]

impl PartialEq<CompressedMovementID> for CompressedMovementID[src]

impl PartialOrd<CompressedMovementID> for CompressedMovementID[src]

impl Serialize for CompressedMovementID[src]

impl StructuralEq for CompressedMovementID[src]

impl StructuralPartialEq for CompressedMovementID[src]

Auto Trait Implementations

impl RefUnwindSafe for CompressedMovementID

impl Send for CompressedMovementID

impl Sync for CompressedMovementID

impl Unpin for CompressedMovementID

impl UnwindSafe for CompressedMovementID

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, 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, 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>,