abstreet/map_model/src/lib.rs

44 lines
1.4 KiB
Rust
Raw Normal View History

mod area;
2018-06-25 17:53:39 +03:00
mod building;
mod bus_stop;
mod edits;
2018-06-25 17:53:39 +03:00
mod intersection;
2018-07-24 05:31:15 +03:00
mod lane;
2018-06-27 23:17:15 +03:00
mod make;
2018-06-25 17:53:39 +03:00
mod map;
mod neighborhood;
2018-06-25 17:53:39 +03:00
mod parcel;
2018-07-09 00:04:19 +03:00
mod pathfind;
2018-06-26 02:26:43 +03:00
pub mod raw_data;
2018-07-24 17:28:11 +03:00
mod road;
2018-11-30 23:36:27 +03:00
mod stop_signs;
mod traffic_signals;
mod traversable;
2018-06-25 17:53:39 +03:00
mod turn;
pub use crate::area::{Area, AreaID, AreaType};
pub use crate::building::{Building, BuildingID, BuildingType, FrontPath};
pub use crate::bus_stop::{BusRoute, BusRouteID, BusStop, BusStopID};
pub use crate::edits::MapEdits;
pub use crate::intersection::{Intersection, IntersectionID, IntersectionType};
pub use crate::lane::{Lane, LaneID, LaneType, PARKING_SPOT_LENGTH};
pub use crate::make::RoadSpec;
pub use crate::map::Map;
pub use crate::neighborhood::{FullNeighborhoodInfo, Neighborhood, NeighborhoodBuilder};
pub use crate::parcel::{Parcel, ParcelID};
pub use crate::pathfind::{Path, PathRequest, PathStep, Trace};
2019-02-21 03:17:30 +03:00
pub use crate::road::{DirectedRoadID, Road, RoadID};
pub use crate::stop_signs::ControlStopSign;
pub use crate::traffic_signals::{ControlTrafficSignal, Cycle};
pub use crate::traversable::{Position, Traversable};
pub use crate::turn::{Turn, TurnID, TurnPriority, TurnType};
use abstutil::Cloneable;
use geom::Distance;
pub const LANE_THICKNESS: Distance = Distance::const_meters(2.5);
2018-12-05 02:05:53 +03:00
impl Cloneable for ControlTrafficSignal {}
impl Cloneable for IntersectionID {}
impl Cloneable for Neighborhood {}
impl Cloneable for NeighborhoodBuilder {}