Struct map_model::objects::stop_signs::RoadWithStopSign
source · pub struct RoadWithStopSign {
pub lane_closest_to_edge: LaneID,
pub must_stop: bool,
}
Fields§
§lane_closest_to_edge: LaneID
§must_stop: bool
Trait Implementations§
source§impl Clone for RoadWithStopSign
impl Clone for RoadWithStopSign
source§fn clone(&self) -> RoadWithStopSign
fn clone(&self) -> RoadWithStopSign
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for RoadWithStopSign
impl Debug for RoadWithStopSign
source§impl<'de> Deserialize<'de> for RoadWithStopSign
impl<'de> Deserialize<'de> for RoadWithStopSign
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for RoadWithStopSign
impl PartialEq for RoadWithStopSign
source§fn eq(&self, other: &RoadWithStopSign) -> bool
fn eq(&self, other: &RoadWithStopSign) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for RoadWithStopSign
impl Serialize for RoadWithStopSign
impl StructuralPartialEq for RoadWithStopSign
Auto Trait Implementations§
impl Freeze for RoadWithStopSign
impl RefUnwindSafe for RoadWithStopSign
impl Send for RoadWithStopSign
impl Sync for RoadWithStopSign
impl Unpin for RoadWithStopSign
impl UnwindSafe for RoadWithStopSign
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more