Enum xplane_sys::XPLMLanguageCode
source · #[non_exhaustive]#[repr(u32)]pub enum XPLMLanguageCode {
Unknown = 0,
English = 1,
French = 2,
German = 3,
Italian = 4,
Spanish = 5,
Korean = 6,
Russian = 7,
Greek = 8,
Japanese = 9,
Chinese = 10,
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Unknown = 0
English = 1
French = 2
German = 3
Italian = 4
Spanish = 5
Korean = 6
Russian = 7
Greek = 8
Japanese = 9
Chinese = 10
Trait Implementations§
source§impl Clone for XPLMLanguageCode
impl Clone for XPLMLanguageCode
source§fn clone(&self) -> XPLMLanguageCode
fn clone(&self) -> XPLMLanguageCode
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for XPLMLanguageCode
impl Debug for XPLMLanguageCode
source§impl Hash for XPLMLanguageCode
impl Hash for XPLMLanguageCode
source§impl PartialEq for XPLMLanguageCode
impl PartialEq for XPLMLanguageCode
source§fn eq(&self, other: &XPLMLanguageCode) -> bool
fn eq(&self, other: &XPLMLanguageCode) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for XPLMLanguageCode
impl Eq for XPLMLanguageCode
impl StructuralEq for XPLMLanguageCode
impl StructuralPartialEq for XPLMLanguageCode
Auto Trait Implementations§
impl RefUnwindSafe for XPLMLanguageCode
impl Send for XPLMLanguageCode
impl Sync for XPLMLanguageCode
impl Unpin for XPLMLanguageCode
impl UnwindSafe for XPLMLanguageCode
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