#[non_exhaustive]#[repr(u8)]pub enum LanguageBits3 {
Bulgarian = 1,
Romanian = 2,
Chinese = 4,
Japanese = 8,
Korean = 16,
Taiwanese = 32,
Thai = 64,
Hebrew = 128,
}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.
Bulgarian = 1
Romanian = 2
Chinese = 4
Japanese = 8
Korean = 16
Taiwanese = 32
Thai = 64
Hebrew = 128
Implementations§
Source§impl LanguageBits3
impl LanguageBits3
Trait Implementations§
Source§impl Clone for LanguageBits3
impl Clone for LanguageBits3
Source§fn clone(&self) -> LanguageBits3
fn clone(&self) -> LanguageBits3
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 LanguageBits3
impl Debug for LanguageBits3
Source§impl Hash for LanguageBits3
impl Hash for LanguageBits3
Source§impl PartialEq for LanguageBits3
impl PartialEq for LanguageBits3
Source§fn eq(&self, other: &LanguageBits3) -> bool
fn eq(&self, other: &LanguageBits3) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for LanguageBits3
impl Eq for LanguageBits3
impl StructuralPartialEq for LanguageBits3
Auto Trait Implementations§
impl Freeze for LanguageBits3
impl RefUnwindSafe for LanguageBits3
impl Send for LanguageBits3
impl Sync for LanguageBits3
impl Unpin for LanguageBits3
impl UnsafeUnpin for LanguageBits3
impl UnwindSafe for LanguageBits3
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