[−][src]Struct traffic_signal_data::DirectedRoad
A road segment connecting two intersections, and a direction along the segment.
Fields
osm_way_id: i64
The ID of the OSM way representing the road.
osm_node1: i64
The ID of the OSM node at the start of this road segment.
osm_node2: i64
The ID of the OSM node at the end of this road segment.
is_forwards: bool
The direction along the road segment. See https://wiki.openstreetmap.org/wiki/Forward_%26_backward,left%26_right for details.
Trait Implementations
impl Clone for DirectedRoad
[src]
fn clone(&self) -> DirectedRoad
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for DirectedRoad
[src]
impl<'de> Deserialize<'de> for DirectedRoad
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Eq for DirectedRoad
[src]
impl Ord for DirectedRoad
[src]
fn cmp(&self, other: &DirectedRoad) -> Ordering
[src]
#[must_use]fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn clamp(self, min: Self, max: Self) -> Self
[src]
impl PartialEq<DirectedRoad> for DirectedRoad
[src]
fn eq(&self, other: &DirectedRoad) -> bool
[src]
fn ne(&self, other: &DirectedRoad) -> bool
[src]
impl PartialOrd<DirectedRoad> for DirectedRoad
[src]
fn partial_cmp(&self, other: &DirectedRoad) -> Option<Ordering>
[src]
fn lt(&self, other: &DirectedRoad) -> bool
[src]
fn le(&self, other: &DirectedRoad) -> bool
[src]
fn gt(&self, other: &DirectedRoad) -> bool
[src]
fn ge(&self, other: &DirectedRoad) -> bool
[src]
impl Serialize for DirectedRoad
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralEq for DirectedRoad
[src]
impl StructuralPartialEq for DirectedRoad
[src]
Auto Trait Implementations
impl RefUnwindSafe for DirectedRoad
impl Send for DirectedRoad
impl Sync for DirectedRoad
impl Unpin for DirectedRoad
impl UnwindSafe for DirectedRoad
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,