#[non_exhaustive]#[repr(u8)]pub enum LanguageBits4 {
BrazilianPortuguese = 1,
Indonesian = 2,
Malaysian = 4,
Vietnamese = 8,
Burmese = 16,
Mongolian = 32,
}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.
Implementations§
Source§impl LanguageBits4
impl LanguageBits4
Trait Implementations§
Source§impl Clone for LanguageBits4
impl Clone for LanguageBits4
Source§fn clone(&self) -> LanguageBits4
fn clone(&self) -> LanguageBits4
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 LanguageBits4
impl Debug for LanguageBits4
Source§impl Hash for LanguageBits4
impl Hash for LanguageBits4
Source§impl PartialEq for LanguageBits4
impl PartialEq for LanguageBits4
Source§fn eq(&self, other: &LanguageBits4) -> bool
fn eq(&self, other: &LanguageBits4) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for LanguageBits4
impl Eq for LanguageBits4
impl StructuralPartialEq for LanguageBits4
Auto Trait Implementations§
impl Freeze for LanguageBits4
impl RefUnwindSafe for LanguageBits4
impl Send for LanguageBits4
impl Sync for LanguageBits4
impl Unpin for LanguageBits4
impl UnsafeUnpin for LanguageBits4
impl UnwindSafe for LanguageBits4
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