#[non_exhaustive]#[repr(u8)]pub enum LanguageBits0 {
English = 1,
French = 2,
Italian = 4,
German = 8,
Spanish = 16,
Croatian = 32,
Czech = 64,
Danish = 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.
Implementations§
Source§impl LanguageBits0
impl LanguageBits0
Trait Implementations§
Source§impl Clone for LanguageBits0
impl Clone for LanguageBits0
Source§fn clone(&self) -> LanguageBits0
fn clone(&self) -> LanguageBits0
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 LanguageBits0
impl Debug for LanguageBits0
Source§impl Hash for LanguageBits0
impl Hash for LanguageBits0
Source§impl PartialEq for LanguageBits0
impl PartialEq for LanguageBits0
Source§fn eq(&self, other: &LanguageBits0) -> bool
fn eq(&self, other: &LanguageBits0) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for LanguageBits0
impl Eq for LanguageBits0
impl StructuralPartialEq for LanguageBits0
Auto Trait Implementations§
impl Freeze for LanguageBits0
impl RefUnwindSafe for LanguageBits0
impl Send for LanguageBits0
impl Sync for LanguageBits0
impl Unpin for LanguageBits0
impl UnsafeUnpin for LanguageBits0
impl UnwindSafe for LanguageBits0
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