Module transit_grid::core

source ·
Expand description

This module provides basic structures for representing a transit network. It provides TransitNode and TransitEdge structures, along with ID types for them. The TransitNode represents a node in the transit network, while the TransitEdge represents a connection between two nodes. The module also provides Accessability, an enum for representing the accessibility of nodes in the network.

Structs

  • Structure representing a connection between two TransitNode instances.
  • Structure representing a node in the transit network.

Enums

  • Re-export of the Accessability enum from the accessability module. Enum Accessability representing the accessibility of nodes in a network.

Traits

  • Trait providing a way to get the coordinates of the source and target nodes of a path.

Type Definitions

  • Type alias for an edge identifier.
  • Type alias for an identifier.
  • Type alias for a node identifier.