BF:BFD[
3.6] → [
4.1625:1639]
BF:BFD[
4.1639] → [
4.1640:1640]
B:BD[
4.1640] → [
4.1641:1656]
∅:D[
5.308] → [
6.5384:5414]
B:BD[
4.1656] → [
6.5384:5414]
∅:D[
6.5414] → [
4.1656:1809]
B:BD[
4.1656] → [
4.1656:1809]
∅:D[
7.15921] → [
4.1819:4529]
B:BD[
4.1819] → [
4.1819:4529]
∅:D[
8.19360] → [
4.4544:5258]
B:BD[
4.4544] → [
4.4544:5258]
B:BD[
4.5258] → [
6.5415:5616]
∅:D[
6.5616] → [
4.5258:6050]
B:BD[
4.5258] → [
4.5258:6050]
∅:D[
7.15986] → [
4.6113:6380]
B:BD[
4.6113] → [
4.6113:6380]
∅:D[
8.19428] → [
4.6446:6705]
B:BD[
4.6446] → [
4.6446:6705]
∅:D[
7.16060] → [
4.6777:6844]
B:BD[
4.6777] → [
4.6777:6844]
∅:D[
8.19500] → [
4.6914:7111]
B:BD[
4.6914] → [
4.6914:7111]
∅:D[
7.16131] → [
4.7180:8032]
∅:D[
6.5681] → [
4.7180:8032]
B:BD[
4.7180] → [
4.7180:8032]
∅:D[
8.19572] → [
4.8102:11081]
B:BD[
4.8102] → [
4.8102:11081]
∅:D[
8.19650] → [
4.11229:11496]
B:BD[
4.11229] → [
4.11229:11496]
∅:D[
8.19730] → [
4.11573:11840]
B:BD[
4.11573] → [
4.11573:11840]
∅:D[
8.19806] → [
4.11913:12575]
B:BD[
4.11913] → [
4.11913:12575]
∅:D[
8.19877] → [
4.12644:13116]
B:BD[
4.12644] → [
4.12644:13116]
∅:D[
8.19961] → [
4.13197:13463]
B:BD[
4.13197] → [
4.13197:13463]
∅:D[
8.20101] → [
4.13600:14325]
B:BD[
4.13600] → [
4.13600:14325]
∅:D[
8.20253] → [
4.14473:15198]
B:BD[
4.14473] → [
4.14473:15198]
∅:D[
8.20328] → [
4.15271:15467]
B:BD[
4.15271] → [
4.15271:15467]
∅:D[
8.20401] → [
4.15538:15604]
B:BD[
4.15538] → [
4.15538:15604]
∅:D[
8.20556] → [
4.15755:15821]
B:BD[
4.15755] → [
4.15755:15821]
∅:D[
8.20626] → [
4.15889:16415]
B:BD[
4.15889] → [
4.15889:16415]
∅:D[
8.20701] → [
4.16488:16830]
B:BD[
4.16488] → [
4.16488:16830]
∅:D[
8.20771] → [
4.16898:17296]
B:BD[
4.16898] → [
4.16898:17296]
∅:D[
8.20846] → [
4.17369:17568]
B:BD[
4.17369] → [
4.17369:17568]
∅:D[
8.20922] → [
4.17642:17781]
B:BD[
4.17642] → [
4.17642:17781]
∅:D[
8.21006] → [
4.17861:17925]
B:BD[
4.17861] → [
4.17861:17925]
∅:D[
8.21077] → [
4.17994:18124]
B:BD[
4.17994] → [
4.17994:18124]
∅:D[
8.21156] → [
4.18200:18397]
B:BD[
4.18200] → [
4.18200:18397]
∅:D[
8.21248] → [
4.18484:18549]
B:BD[
4.18484] → [
4.18484:18549]
∅:D[
8.21321] → [
4.18620:18760]
B:BD[
4.18620] → [
4.18620:18760]
∅:D[
8.21400] → [
4.18836:18905]
B:BD[
4.18836] → [
4.18836:18905]
∅:D[
8.21471] → [
4.18973:19106]
B:BD[
4.18973] → [
4.18973:19106]
∅:D[
8.21545] → [
4.19178:19311]
B:BD[
4.19178] → [
4.19178:19311]
∅:D[
8.21702] → [
4.19464:19532]
B:BD[
4.19464] → [
4.19464:19532]
∅:D[
8.22156] → [
4.19975:20112]
B:BD[
4.19975] → [
4.19975:20112]
∅:D[
8.22228] → [
4.20182:20319]
B:BD[
4.20182] → [
4.20182:20319]
∅:D[
8.22383] → [
4.20470:20534]
B:BD[
4.20470] → [
4.20470:20534]
∅:D[
8.22455] → [
4.20604:20735]
B:BD[
4.20604] → [
4.20604:20735]
∅:D[
8.22532] → [
4.20809:20874]
B:BD[
4.20809] → [
4.20809:20874]
∅:D[
8.22785] → [
4.21117:21186]
B:BD[
4.21117] → [
4.21117:21186]
∅:D[
8.23009] → [
4.21406:21535]
B:BD[
4.21406] → [
4.21406:21535]
∅:D[
8.23236] → [
4.21757:21803]
B:BD[
4.21757] → [
4.21757:21803]
B:BD[
4.21535] → [
8.23010:23236]
B:BD[
4.21186] → [
8.22786:23009]
B:BD[
4.20874] → [
8.22533:22785]
B:BD[
4.20735] → [
8.22456:22532]
B:BD[
4.20534] → [
8.22384:22455]
B:BD[
4.20319] → [
8.22229:22383]
B:BD[
4.20112] → [
8.22157:22228]
B:BD[
4.19532] → [
8.21703:22156]
B:BD[
4.19311] → [
8.21546:21702]
B:BD[
4.19106] → [
8.21472:21545]
B:BD[
4.18905] → [
8.21401:21471]
B:BD[
4.18760] → [
8.21322:21400]
B:BD[
4.18549] → [
8.21249:21321]
B:BD[
4.18397] → [
8.21157:21248]
B:BD[
4.18124] → [
8.21078:21156]
B:BD[
4.17925] → [
8.21007:21077]
B:BD[
4.17781] → [
8.20923:21006]
B:BD[
4.17568] → [
8.20847:20922]
B:BD[
4.17296] → [
8.20772:20846]
B:BD[
4.16830] → [
8.20702:20771]
B:BD[
4.16415] → [
8.20627:20701]
B:BD[
4.15821] → [
8.20557:20626]
B:BD[
4.15604] → [
8.20402:20556]
B:BD[
4.15467] → [
8.20329:20401]
B:BD[
4.15198] → [
8.20254:20328]
B:BD[
4.14325] → [
8.20102:20253]
B:BD[
4.13463] → [
8.19962:20101]
B:BD[
4.13116] → [
8.19878:19961]
B:BD[
4.12575] → [
8.19807:19877]
B:BD[
4.11840] → [
8.19731:19806]
B:BD[
4.11496] → [
8.19651:19730]
B:BD[
4.11081] → [
7.16132:16205]
B:BD[
7.16205] → [
8.19573:19650]
B:BD[
4.8032] → [
8.19501:19572]
B:BD[
4.7111] → [
6.5617:5681]
B:BD[
4.6844] → [
8.19429:19500]
B:BD[
4.6705] → [
7.15987:16060]
B:BD[
4.6380] → [
8.19361:19428]
B:BD[
4.6050] → [
7.15922:15986]
B:BD[
4.4529] → [
8.19345:19360]
B:BD[
4.1809] → [
7.15910:15921]
B:BD[
4.1656] → [
5.296:308]
use std::fmt;
#[derive(Clone, Copy, Debug)]
pub enum Country {
China,
India,
UnitedStates,
Indonesia,
Pakistan,
Brazil,
Nigeria,
Bangladesh,
Russia,
Mexico,
Ethiopia,
Philippines,
Egypt,
Vietnam,
DRCongo,
Iran,
Turkey,
Germany,
France,
UnitedKingdom,
Thailand,
SouthAfrica,
Tanzania,
Italy,
Myanmar,
SouthKorea,
Colombia,
Kenya,
Spain,
Argentina,
Algeria,
Sudan,
Uganda,
Ukraine,
Iraq,
Canada,
Poland,
Morocco,
Uzbekistan,
SaudiArabia,
Peru,
Afghanistan,
Malaysia,
Angola,
Ghana,
Mozambique,
Yemen,
Nepal,
Venezuela,
IvoryCoast,
Madagascar,
Australia,
NorthKorea,
Cameroon,
Niger,
Taiwan,
SriLanka,
BurkinaFaso,
Mali,
Chile,
Romania,
Kazakhstan,
Malawi,
Zambia,
Syria,
Ecuador,
Netherlands,
Senegal,
Guatemala,
Chad,
Somalia,
Zimbabwe,
Cambodia,
SouthSudan,
Rwanda,
Guinea,
Burundi,
Benin,
Bolivia,
Haiti,
Tunisia,
Belgium,
Cuba,
Jordan,
Greece,
CzechRepublic,
DominicanRepublic,
Sweden,
Portugal,
Azerbaijan,
Hungary,
UnitedArabEmirates,
Honduras,
Belarus,
Israel,
Tajikistan,
PapuaNewGuinea,
Austria,
Switzerland,
SierraLeone,
Togo,
HongKong,
Paraguay,
Laos,
Libya,
Bulgaria,
Serbia,
ElSalvador,
Lebanon,
Kyrgyzstan,
Nicaragua,
Turkmenistan,
Denmark,
Singapore,
Congo,
CentralAfricanRepublic,
Finland,
Slovakia,
Norway,
Palestine,
CostaRica,
NewZealand,
Ireland,
Liberia,
Oman,
Kuwait,
Panama,
Mauritania,
Croatia,
Georgia,
Eritrea,
Uruguay,
Mongolia,
BosniaAndHerzegovina,
PuertoRico,
Armenia,
Albania,
Lithuania,
Jamaica,
Qatar,
Moldova,
Namibia,
Botswana,
Gambia,
Gabon,
Slovenia,
NorthMacedonia,
Lesotho,
Latvia,
Kosovo,
GuineaBissau,
Bahrain,
EquatorialGuinea,
TrinidadAndTobago,
Estonia,
EastTimor,
Mauritius,
Eswatini,
Djibouti,
Fiji,
Cyprus,
Comoros,
Bhutan,
Guyana,
SolomonIslands,
Macau,
Luxembourg,
Montenegro,
WesternSahara,
Suriname,
CapeVerde,
Malta,
Transnistria,
Brunei,
Belize,
Bahamas,
Maldives,
NorthernCyprus,
Iceland,
Vanuatu,
Barbados,
FrenchPolynesia,
NewCaledonia,
Abkhazia,
SaoTomeAndPrincipe,
Samoa,
SaintLucia,
Guam,
Curacao,
RepublicOfArtsakh,
Kiribati,
Grenada,
Aruba,
SaintVincentAndTheGrenadines,
Jersey,
FSMicronesia,
USVirginIslands,
Tonga,
AntiguaAndBarbuda,
Seychelles,
Andorra,
Dominica,
CaymanIslands,
Bermuda,
Guernsey,
AmericanSamoa,
NorthernMarianaIslands,
Greenland,
MarshallIslands,
SaintKittsandNevis,
SouthOssetia,
FaroeIslands,
TurksandCaicosIslands,
SintMaarten,
Liechtenstein,
Monaco,
SaintMartin,
Gibraltar,
SanMarino,
AlandIslands,
BritishVirginIslands,
Palau,
CookIslands,
Anguilla,
Nauru,
WallisandFutuna,
Tuvalu,
SaintBarthelemy,
SaintPierreAndMiquelon,
SaintHelenaAndTristanDaCunha,
Montserrat,
FalklandIslands,
ChristmasIsland,
NorfolkIsland,
Niue,
Tokelau,
VaticanCity,
CocosKeelingIslands,
PitcairnIslands,
}
impl Country {
/// Return the country name in lowercase with underscores replacing spaces.
pub fn as_path(&self) -> String {
self.to_string().to_lowercase().replace(' ', "_")
}
}
impl fmt::Display for Country {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
let s = match self {
Country::China => "China",
Country::India => "India",
Country::UnitedStates => "United States",
Country::Indonesia => "Indonesia",
Country::Pakistan => "Pakistan",
Country::Brazil => "Brazil",
Country::Nigeria => "Nigeria",
Country::Bangladesh => "Bangladesh",
Country::Russia => "Russia",
Country::Mexico => "Mexico",
Country::Ethiopia => "Ethiopia",
Country::Philippines => "Philippines",
Country::Egypt => "Egypt",
Country::Vietnam => "Vietnam",
Country::Iran => "Iran",
Country::Turkey => "Turkey",
Country::Germany => "Germany",
Country::France => "France",
Country::Thailand => "Thailand",
Country::Tanzania => "Tanzania",
Country::Italy => "Italy",
Country::Myanmar => "Myanmar",
Country::Colombia => "Colombia",
Country::Kenya => "Kenya",
Country::Spain => "Spain",
Country::Argentina => "Argentina",
Country::Algeria => "Algeria",
Country::Sudan => "Sudan",
Country::Uganda => "Uganda",
Country::Ukraine => "Ukraine",
Country::Iraq => "Iraq",
Country::Canada => "Canada",
Country::Poland => "Poland",
Country::Morocco => "Morocco",
Country::Uzbekistan => "Uzbekistan",
Country::Peru => "Peru",
Country::Afghanistan => "Afghanistan",
Country::Malaysia => "Malaysia",
Country::Angola => "Angola",
Country::Ghana => "Ghana",
Country::Mozambique => "Mozambique",
Country::Yemen => "Yemen",
Country::Nepal => "Nepal",
Country::Venezuela => "Venezuela",
Country::IvoryCoast => "Ivory Coast",
Country::Madagascar => "Madagascar",
Country::Australia => "Australia",
Country::NorthKorea => "North Korea",
Country::Cameroon => "Cameroon",
Country::Niger => "Niger",
Country::Taiwan => "Taiwan",
Country::SriLanka => "SriLanka",
Country::BurkinaFaso => "Burkina Faso",
Country::Mali => "Mali",
Country::Chile => "Chile",
Country::Romania => "Romania",
Country::Kazakhstan => "Kazakhstan",
Country::Malawi => "Malawi",
Country::Zambia => "Zambia",
Country::Syria => "Syria",
Country::Ecuador => "Ecuador",
Country::Netherlands => "Netherlands",
Country::Senegal => "Senegal",
Country::Guatemala => "Guatemala",
Country::Chad => "Chad",
Country::Somalia => "Somalia",
Country::Zimbabwe => "Zimbabwe",
Country::Cambodia => "Cambodia",
Country::SouthSudan => "South Sudan",
Country::Rwanda => "Rwanda",
Country::Guinea => "Guinea",
Country::Burundi => "Burundi",
Country::Benin => "Benin",
Country::Bolivia => "Bolivia",
Country::Haiti => "Haiti",
Country::Tunisia => "Tunisia",
Country::Belgium => "Belgium",
Country::Cuba => "Cuba",
Country::Jordan => "Jordan",
Country::Greece => "Greece",
Country::Sweden => "Sweden",
Country::Portugal => "Portugal",
Country::Azerbaijan => "Azerbaijan",
Country::Hungary => "Hungary",
Country::Honduras => "Honduras",
Country::Belarus => "Belarus",
Country::Israel => "Israel",
Country::Tajikistan => "Tajikistan",
Country::Austria => "Austria",
Country::Switzerland => "Switzerland",
Country::SierraLeone => "SierraLeone",
Country::Togo => "Togo",
Country::HongKong => "HongKong",
Country::Paraguay => "Paraguay",
Country::Laos => "Laos",
Country::Libya => "Libya",
Country::Bulgaria => "Bulgaria",
Country::Serbia => "Serbia",
Country::Lebanon => "Lebanon",
Country::Kyrgyzstan => "Kyrgyzstan",
Country::Nicaragua => "Nicaragua",
Country::Turkmenistan => "Turkmenistan",
Country::Denmark => "Denmark",
Country::Singapore => "Singapore",
Country::Congo => "Congo",
Country::Finland => "Finland",
Country::Slovakia => "Slovakia",
Country::Norway => "Norway",
Country::Palestine => "Palestine",
Country::Ireland => "Ireland",
Country::Liberia => "Liberia",
Country::Oman => "Oman",
Country::Kuwait => "Kuwait",
Country::Panama => "Panama",
Country::Mauritania => "Mauritania",
Country::Croatia => "Croatia",
Country::Georgia => "Georgia",
Country::Eritrea => "Eritrea",
Country::Uruguay => "Uruguay",
Country::Mongolia => "Mongolia",
Country::Armenia => "Armenia",
Country::Albania => "Albania",
Country::Lithuania => "Lithuania",
Country::Jamaica => "Jamaica",
Country::Qatar => "Qatar",
Country::Moldova => "Moldova",
Country::Namibia => "Namibia",
Country::Botswana => "Botswana",
Country::Gambia => "Gambia",
Country::Gabon => "Gabon",
Country::Slovenia => "Slovenia",
Country::Lesotho => "Lesotho",
Country::Latvia => "Latvia",
Country::Kosovo => "Kosovo",
Country::Bahrain => "Bahrain",
Country::Estonia => "Estonia",
Country::Mauritius => "Mauritius",
Country::Eswatini => "Eswatini",
Country::Djibouti => "Djibouti",
Country::Fiji => "Fiji",
Country::Cyprus => "Cyprus",
Country::Comoros => "Comoros",
Country::Bhutan => "Bhutan",
Country::Guyana => "Guyana",
Country::Macau => "Macau",
Country::Luxembourg => "Luxembourg",
Country::Montenegro => "Montenegro",
Country::WesternSahara => "Western Sahara",
Country::Suriname => "Suriname",
Country::Malta => "Malta",
Country::Transnistria => "Transnistria",
Country::Brunei => "Brunei",
Country::Belize => "Belize",
Country::Bahamas => "Bahamas",
Country::Maldives => "Maldives",
Country::Iceland => "Iceland",
Country::Vanuatu => "Vanuatu",
Country::Barbados => "Barbados",
Country::NewCaledonia => "New Caledonia",
Country::Abkhazia => "Abkhazia",
Country::Samoa => "Samoa",
Country::Guam => "Guam",
Country::Curacao => "Curaçao",
Country::Kiribati => "Kiribati",
Country::Grenada => "Grenada",
Country::Aruba => "Aruba",
Country::Jersey => "Jersey",
Country::USVirginIslands => "US Virgin Islands",
Country::Tonga => "Tonga",
Country::Seychelles => "Seychelles",
Country::Andorra => "Andorra",
Country::Dominica => "Dominica",
Country::Bermuda => "Bermuda",
Country::Guernsey => "Guernsey",
Country::Greenland => "Greenland",
Country::Liechtenstein => "Liechtenstein",
Country::Monaco => "Monaco",
Country::Gibraltar => "Gibraltar",
Country::SanMarino => "San Marino",
Country::Palau => "Palau",
Country::Anguilla => "Anguilla",
Country::Nauru => "Nauru",
Country::Tuvalu => "Tuvalu",
Country::Montserrat => "Montserrat",
Country::Niue => "Niue",
Country::Tokelau => "Tokelau",
};
write!(f, "{}", s)
}
}
Country::VaticanCity => "Vatican City",
Country::CocosKeelingIslands => "Cocos Keeling Islands",
Country::PitcairnIslands => "Pitcairn Islands",
Country::FalklandIslands => "Falkland Islands",
Country::ChristmasIsland => "Christmas Island",
Country::NorfolkIsland => "Norfolk Island",
Country::SaintBarthelemy => "Saint Barthélemy",
Country::SaintPierreAndMiquelon => "Saint Pierre and Miquelon",
Country::SaintHelenaAndTristanDaCunha => "Saint Helena and Tristan Da Cunha",
Country::WallisandFutuna => "Wallis and Futuna",
Country::CookIslands => "Cook Islands",
Country::AlandIslands => "Åland Islands",
Country::BritishVirginIslands => "British Virgin Islands",
Country::SaintMartin => "Saint Martin",
Country::MarshallIslands => "Marshall Islands",
Country::SaintKittsandNevis => "Saint Kitts and Nevis",
Country::SouthOssetia => "South Ossetia",
Country::FaroeIslands => "Faroe Islands",
Country::TurksandCaicosIslands => "Turks and Caicos Islands",
Country::SintMaarten => "Sint Maarten",
Country::AmericanSamoa => "American Samoa",
Country::NorthernMarianaIslands => "Northern Mariana Islands",
Country::CaymanIslands => "Cayman Islands",
Country::IsleOfMan => "Isle of Man",
Country::AntiguaAndBarbuda => "Antigua and Barbuda",
Country::FSMicronesia => "FS Micronesia",
Country::SaintVincentAndTheGrenadines => "Saint Vincent and the Grenadines",
Country::RepublicOfArtsakh => "Republic Of Artsakh",
Country::SaintLucia => "Saint Lucia",
Country::SaoTomeAndPrincipe => "São Tomé and Príncipe",
Country::FrenchPolynesia => "French Polynesia",
Country::NorthernCyprus => "Northern Cyprus",
Country::CapeVerde => "Cape Verde",
Country::SolomonIslands => "Solomon Islands",
Country::EastTimor => "East Timor",
Country::EquatorialGuinea => "Equatorial Guinea",
Country::TrinidadAndTobago => "Trinidad and Tobago",
Country::GuineaBissau => "Guinea Bissau",
Country::NorthMacedonia => "North Macedonia",
Country::BosniaAndHerzegovina => "Bosnia and Herzegovina",
Country::PuertoRico => "Puerto Rico",
Country::CostaRica => "Costa Rica",
Country::NewZealand => "New Zealand",
Country::CentralAfricanRepublic => "Central African Republic",
Country::ElSalvador => "El Salvador",
Country::PapuaNewGuinea => "Papua New Guinea",
Country::UnitedArabEmirates => "United Arab Emirates",
Country::CzechRepublic => "Czech Republic",
Country::DominicanRepublic => "Dominican Republic",
Country::SaudiArabia => "Saudi Arabia",
Country::SouthKorea => "Korea",
Country::SouthAfrica => "South Africa",
Country::UnitedKingdom => "United Kingdom",
Country::DRCongo => "DR Congo",
Country::Japan => "Japan",
IsleOfMan,
Japan,
/// Country