Skip to main content

countries

Function countries 

Source
pub fn countries() -> &'static [Country]
Expand description

Every country and territory the crate knows about.

ยงExamples

use phonelib::countries;

assert!(countries().iter().any(|c| c.code == "JP"));