pub enum LanguageID {
Unicode,
Macintosh(Macintosh),
Windows(Windows),
Other(u16),
}
Expand description
A language identifier.
Variants§
Trait Implementations§
source§impl Clone for LanguageID
impl Clone for LanguageID
source§fn clone(&self) -> LanguageID
fn clone(&self) -> LanguageID
Returns a copy of the value. Read more
1.0.0 · 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 LanguageID
impl Debug for LanguageID
source§impl Default for LanguageID
impl Default for LanguageID
source§fn default() -> LanguageID
fn default() -> LanguageID
Returns the “default value” for a type. Read more
source§impl PartialEq for LanguageID
impl PartialEq for LanguageID
source§fn eq(&self, other: &LanguageID) -> bool
fn eq(&self, other: &LanguageID) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Read<'static> for LanguageID
impl Read<'static> for LanguageID
§type Parameter = PlatformID
type Parameter = PlatformID
The parameter type.
source§impl Write for LanguageID
impl Write for LanguageID
impl Copy for LanguageID
impl Eq for LanguageID
impl StructuralPartialEq for LanguageID
Auto Trait Implementations§
impl RefUnwindSafe for LanguageID
impl Send for LanguageID
impl Sync for LanguageID
impl Unpin for LanguageID
impl UnwindSafe for LanguageID
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