pub struct E1Detector {
pub id: DetectorId,
pub lane: LaneRef,
pub position: LanePosition,
pub file: String,
pub period: Option<Time>,
pub length: Option<Length>,
pub name: Option<String>,
pub friendly_position: Option<bool>,
}Expand description
An induction loop (SUMO’s e1Detector, also spelled inductionLoop): a
point detector at a fixed position on a single lane.
Fields§
§id: DetectorId§lane: LaneRef§position: LanePosition§file: StringWhere the detector writes its output, as given — a path relative to
the .add.xml itself, per how SUMO resolves it.
period: Option<Time>§length: Option<Length>§name: Option<String>§friendly_position: Option<bool>Trait Implementations§
Source§impl Clone for E1Detector
impl Clone for E1Detector
Source§impl Debug for E1Detector
impl Debug for E1Detector
Source§impl PartialEq for E1Detector
impl PartialEq for E1Detector
impl StructuralPartialEq for E1Detector
Auto Trait Implementations§
impl Freeze for E1Detector
impl RefUnwindSafe for E1Detector
impl Send for E1Detector
impl Sync for E1Detector
impl Unpin for E1Detector
impl UnsafeUnpin for E1Detector
impl UnwindSafe for E1Detector
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