#[non_exhaustive]#[repr(u8)]pub enum LanguageBits1 {
Dutch = 1,
Finnish = 2,
Greek = 4,
Hungarian = 8,
Norwegian = 16,
Polish = 32,
Portuguese = 64,
Slovakian = 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.
Dutch = 1
Finnish = 2
Greek = 4
Hungarian = 8
Norwegian = 16
Polish = 32
Portuguese = 64
Slovakian = 128
Implementations§
Source§impl LanguageBits1
impl LanguageBits1
Trait Implementations§
Source§impl Clone for LanguageBits1
impl Clone for LanguageBits1
Source§fn clone(&self) -> LanguageBits1
fn clone(&self) -> LanguageBits1
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 LanguageBits1
impl Debug for LanguageBits1
Source§impl Hash for LanguageBits1
impl Hash for LanguageBits1
Source§impl PartialEq for LanguageBits1
impl PartialEq for LanguageBits1
Source§fn eq(&self, other: &LanguageBits1) -> bool
fn eq(&self, other: &LanguageBits1) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for LanguageBits1
impl Eq for LanguageBits1
impl StructuralPartialEq for LanguageBits1
Auto Trait Implementations§
impl Freeze for LanguageBits1
impl RefUnwindSafe for LanguageBits1
impl Send for LanguageBits1
impl Sync for LanguageBits1
impl Unpin for LanguageBits1
impl UnsafeUnpin for LanguageBits1
impl UnwindSafe for LanguageBits1
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