pub struct DetectorGate {
pub lane: LaneRef,
pub position: LanePosition,
pub friendly_position: Option<bool>,
}Expand description
One entry or exit point of an E3Detector, mirroring SUMO’s
detEntryExitType.
Fields§
§lane: LaneRef§position: LanePosition§friendly_position: Option<bool>SUMO’s friendlyPos: whether a position outside the lane is clamped
into range instead of being an error. None when the attribute is
absent, rather than resolved to SUMO’s default, so a round-trip can
tell “unset” from “explicitly set”.
Trait Implementations§
Source§impl Clone for DetectorGate
impl Clone for DetectorGate
Source§impl Debug for DetectorGate
impl Debug for DetectorGate
Source§impl PartialEq for DetectorGate
impl PartialEq for DetectorGate
impl StructuralPartialEq for DetectorGate
Auto Trait Implementations§
impl Freeze for DetectorGate
impl RefUnwindSafe for DetectorGate
impl Send for DetectorGate
impl Sync for DetectorGate
impl Unpin for DetectorGate
impl UnsafeUnpin for DetectorGate
impl UnwindSafe for DetectorGate
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