pub enum Region {
Show 17 variants
NCR,
CAR,
I,
II,
III,
IVA,
IVB,
V,
VI,
VII,
VIII,
IX,
X,
XI,
XII,
XIII,
BARMM,
}Variants§
Implementations§
Source§impl Region
impl Region
pub fn from_str(s: &str) -> Option<Self>
pub fn iter() -> impl Iterator<Item = Region>
pub fn abbrev(&self) -> &'static str
pub fn code(&self) -> &'static str
pub fn name(&self) -> &'static str
pub fn full_name(&self) -> &'static str
pub fn keys() -> Vec<&'static str>
pub fn codes() -> Vec<&'static str>
pub fn names() -> Vec<&'static str>
Sourcepub fn list_by_full_name() -> HashMap<&'static str, &'static str>
pub fn list_by_full_name() -> HashMap<&'static str, &'static str>
Trait Implementations§
impl Copy for Region
impl Eq for Region
impl StructuralPartialEq for Region
Auto Trait Implementations§
impl Freeze for Region
impl RefUnwindSafe for Region
impl Send for Region
impl Sync for Region
impl Unpin for Region
impl UnwindSafe for Region
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more