Enum continent_code::ContinentCode
source · [−]pub enum ContinentCode {
AS,
AF,
NA,
SA,
AN,
EU,
OC,
}Variants
AS
AF
NA
SA
AN
EU
OC
Implementations
sourceimpl ContinentCode
impl ContinentCode
pub const VARS: &'static [ContinentCode] = &[ContinentCode::AS, ContinentCode::AF, ContinentCode::NA, ContinentCode::SA, ContinentCode::AN, ContinentCode::EU, ContinentCode::OC]
Trait Implementations
sourceimpl Clone for ContinentCode
impl Clone for ContinentCode
sourcefn clone(&self) -> ContinentCode
fn clone(&self) -> ContinentCode
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for ContinentCode
impl Debug for ContinentCode
sourceimpl Default for ContinentCode
impl Default for ContinentCode
sourceimpl<'de> Deserialize<'de> for ContinentCode
impl<'de> Deserialize<'de> for ContinentCode
sourcefn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Display for ContinentCode
impl Display for ContinentCode
sourceimpl FromStr for ContinentCode
impl FromStr for ContinentCode
sourceimpl Hash for ContinentCode
impl Hash for ContinentCode
sourceimpl<'a> PartialEq<&'a str> for ContinentCode
impl<'a> PartialEq<&'a str> for ContinentCode
sourceimpl PartialEq<ContinentCode> for ContinentCode
impl PartialEq<ContinentCode> for ContinentCode
sourceimpl<'a> PartialEq<Cow<'a, str>> for ContinentCode
impl<'a> PartialEq<Cow<'a, str>> for ContinentCode
sourceimpl<'a> PartialEq<String> for ContinentCode
impl<'a> PartialEq<String> for ContinentCode
sourceimpl<'a> PartialEq<str> for ContinentCode
impl<'a> PartialEq<str> for ContinentCode
sourceimpl Serialize for ContinentCode
impl Serialize for ContinentCode
impl Eq for ContinentCode
Auto Trait Implementations
impl RefUnwindSafe for ContinentCode
impl Send for ContinentCode
impl Sync for ContinentCode
impl Unpin for ContinentCode
impl UnwindSafe for ContinentCode
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more