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: IntersectionID
idx: u8
Trait Implementations
impl Clone for CompressedMovementID
[src]
impl Clone for CompressedMovementID
[src]fn clone(&self) -> CompressedMovementID
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'de> Deserialize<'de> for CompressedMovementID
[src]
impl<'de> Deserialize<'de> for CompressedMovementID
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Hash for CompressedMovementID
[src]
impl Hash for CompressedMovementID
[src]impl Ord for CompressedMovementID
[src]
impl Ord for CompressedMovementID
[src]impl PartialEq<CompressedMovementID> for CompressedMovementID
[src]
impl PartialEq<CompressedMovementID> for CompressedMovementID
[src]fn eq(&self, other: &CompressedMovementID) -> bool
[src]
fn ne(&self, other: &CompressedMovementID) -> bool
[src]
impl PartialOrd<CompressedMovementID> for CompressedMovementID
[src]
impl PartialOrd<CompressedMovementID> for CompressedMovementID
[src]fn partial_cmp(&self, other: &CompressedMovementID) -> Option<Ordering>
[src]
#[must_use]pub fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn lt(&self, other: &Rhs) -> bool#[must_use]pub fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn le(&self, other: &Rhs) -> bool#[must_use]pub fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn gt(&self, other: &Rhs) -> bool#[must_use]pub fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn ge(&self, other: &Rhs) -> boolimpl Serialize for CompressedMovementID
[src]
impl Serialize for CompressedMovementID
[src]impl Copy for CompressedMovementID
[src]
impl Eq 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> 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,