pub enum AnyNode {
Show 21 variants
AirAirline(AirAirline),
AirAirport(AirAirport),
AirGate(AirGate),
AirFlight(AirFlight),
BusCompany(BusCompany),
BusLine(BusLine),
BusStop(BusStop),
BusBerth(BusBerth),
BusConnection(BusConnection),
RailCompany(RailCompany),
RailLine(RailLine),
RailStation(RailStation),
RailPlatform(RailPlatform),
RailConnection(RailConnection),
SeaCompany(SeaCompany),
SeaLine(SeaLine),
SeaStop(SeaStop),
SeaDock(SeaDock),
SeaConnection(SeaConnection),
SpawnWarp(SpawnWarp),
Town(Town),
}Variants§
AirAirline(AirAirline)
AirAirport(AirAirport)
AirGate(AirGate)
AirFlight(AirFlight)
BusCompany(BusCompany)
BusLine(BusLine)
BusStop(BusStop)
BusBerth(BusBerth)
BusConnection(BusConnection)
RailCompany(RailCompany)
RailLine(RailLine)
RailStation(RailStation)
RailPlatform(RailPlatform)
RailConnection(RailConnection)
SeaCompany(SeaCompany)
SeaLine(SeaLine)
SeaStop(SeaStop)
SeaDock(SeaDock)
SeaConnection(SeaConnection)
SpawnWarp(SpawnWarp)
Town(Town)
Implementations§
Source§impl AnyNode
impl AnyNode
Sourcepub const fn is_air_airline(&self) -> bool
pub const fn is_air_airline(&self) -> bool
Returns true if the enum is AnyNode::AirAirline otherwise false
Sourcepub const fn is_air_airport(&self) -> bool
pub const fn is_air_airport(&self) -> bool
Returns true if the enum is AnyNode::AirAirport otherwise false
Sourcepub const fn is_air_gate(&self) -> bool
pub const fn is_air_gate(&self) -> bool
Returns true if the enum is AnyNode::AirGate otherwise false
Sourcepub const fn is_air_flight(&self) -> bool
pub const fn is_air_flight(&self) -> bool
Returns true if the enum is AnyNode::AirFlight otherwise false
Sourcepub const fn is_bus_company(&self) -> bool
pub const fn is_bus_company(&self) -> bool
Returns true if the enum is AnyNode::BusCompany otherwise false
Sourcepub const fn is_bus_line(&self) -> bool
pub const fn is_bus_line(&self) -> bool
Returns true if the enum is AnyNode::BusLine otherwise false
Sourcepub const fn is_bus_stop(&self) -> bool
pub const fn is_bus_stop(&self) -> bool
Returns true if the enum is AnyNode::BusStop otherwise false
Sourcepub const fn is_bus_berth(&self) -> bool
pub const fn is_bus_berth(&self) -> bool
Returns true if the enum is AnyNode::BusBerth otherwise false
Sourcepub const fn is_bus_connection(&self) -> bool
pub const fn is_bus_connection(&self) -> bool
Returns true if the enum is AnyNode::BusConnection otherwise false
Sourcepub const fn is_rail_company(&self) -> bool
pub const fn is_rail_company(&self) -> bool
Returns true if the enum is AnyNode::RailCompany otherwise false
Sourcepub const fn is_rail_line(&self) -> bool
pub const fn is_rail_line(&self) -> bool
Returns true if the enum is AnyNode::RailLine otherwise false
Sourcepub const fn is_rail_station(&self) -> bool
pub const fn is_rail_station(&self) -> bool
Returns true if the enum is AnyNode::RailStation otherwise false
Sourcepub const fn is_rail_platform(&self) -> bool
pub const fn is_rail_platform(&self) -> bool
Returns true if the enum is AnyNode::RailPlatform otherwise false
Sourcepub const fn is_rail_connection(&self) -> bool
pub const fn is_rail_connection(&self) -> bool
Returns true if the enum is AnyNode::RailConnection otherwise false
Sourcepub const fn is_sea_company(&self) -> bool
pub const fn is_sea_company(&self) -> bool
Returns true if the enum is AnyNode::SeaCompany otherwise false
Sourcepub const fn is_sea_line(&self) -> bool
pub const fn is_sea_line(&self) -> bool
Returns true if the enum is AnyNode::SeaLine otherwise false
Sourcepub const fn is_sea_stop(&self) -> bool
pub const fn is_sea_stop(&self) -> bool
Returns true if the enum is AnyNode::SeaStop otherwise false
Sourcepub const fn is_sea_dock(&self) -> bool
pub const fn is_sea_dock(&self) -> bool
Returns true if the enum is AnyNode::SeaDock otherwise false
Sourcepub const fn is_sea_connection(&self) -> bool
pub const fn is_sea_connection(&self) -> bool
Returns true if the enum is AnyNode::SeaConnection otherwise false
Sourcepub const fn is_spawn_warp(&self) -> bool
pub const fn is_spawn_warp(&self) -> bool
Returns true if the enum is AnyNode::SpawnWarp otherwise false