Structs
The following structs are available globally.
-
A position in time and space where a train stops and people can enter or exit a train
See moreDeclaration
Swift
public struct TrainStop
-
A train moving in a speciefied direction
See moreDeclaration
Swift
public struct MovingTrain
-
A trip between two railway stations that only uses one train
See moreDeclaration
Swift
public struct SingleTrainTrip
-
A trip between two railway stations consisting of one or more
See moreSingleTrainTrip
‘sDeclaration
Swift
public struct Trip: CustomDebugStringConvertible
-
Basic information of a railway station provided by iRail
See moreDeclaration
Swift
public struct RailwayStation: Codable, CustomStringConvertible