Enum icu::displaynames::LanguageDisplay
source · [−]#[non_exhaustive]
pub enum LanguageDisplay {
Dialect,
Standard,
}
Expand description
An enum for the language display kind.
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.
Dialect
Standard
Trait Implementations
sourceimpl Clone for LanguageDisplay
impl Clone for LanguageDisplay
sourcefn clone(&self) -> LanguageDisplay
fn clone(&self) -> LanguageDisplay
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for LanguageDisplay
impl Debug for LanguageDisplay
sourceimpl Default for LanguageDisplay
impl Default for LanguageDisplay
sourcefn default() -> LanguageDisplay
fn default() -> LanguageDisplay
Returns the “default value” for a type. Read more
sourceimpl PartialEq<LanguageDisplay> for LanguageDisplay
impl PartialEq<LanguageDisplay> for LanguageDisplay
impl Copy for LanguageDisplay
impl Eq for LanguageDisplay
impl StructuralEq for LanguageDisplay
impl StructuralPartialEq for LanguageDisplay
Auto Trait Implementations
impl RefUnwindSafe for LanguageDisplay
impl Send for LanguageDisplay
impl Sync for LanguageDisplay
impl Unpin for LanguageDisplay
impl UnwindSafe for LanguageDisplay
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more