pub enum PlatformEncodingLanguageId {
Unicode(Option<Result<UnicodeEid, u16>>, Option<u16>),
Mac(Option<Result<MacEid, u16>>, Option<Result<MacLang, u16>>),
Iso(Option<u16>, Option<u16>),
Microsoft(Option<Result<MicrosoftEid, u16>>, Option<Result<MicrosoftLang, u16>>),
}
Variants§
Unicode(Option<Result<UnicodeEid, u16>>, Option<u16>)
Mac(Option<Result<MacEid, u16>>, Option<Result<MacLang, u16>>)
Iso(Option<u16>, Option<u16>)
Microsoft(Option<Result<MicrosoftEid, u16>>, Option<Result<MicrosoftLang, u16>>)
Trait Implementations§
source§impl Clone for PlatformEncodingLanguageId
impl Clone for PlatformEncodingLanguageId
source§fn clone(&self) -> PlatformEncodingLanguageId
fn clone(&self) -> PlatformEncodingLanguageId
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 PlatformEncodingLanguageId
impl Debug for PlatformEncodingLanguageId
source§impl Hash for PlatformEncodingLanguageId
impl Hash for PlatformEncodingLanguageId
source§impl Ord for PlatformEncodingLanguageId
impl Ord for PlatformEncodingLanguageId
source§fn cmp(&self, other: &PlatformEncodingLanguageId) -> Ordering
fn cmp(&self, other: &PlatformEncodingLanguageId) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for PlatformEncodingLanguageId
impl PartialEq for PlatformEncodingLanguageId
source§fn eq(&self, other: &PlatformEncodingLanguageId) -> bool
fn eq(&self, other: &PlatformEncodingLanguageId) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for PlatformEncodingLanguageId
impl PartialOrd for PlatformEncodingLanguageId
source§fn partial_cmp(&self, other: &PlatformEncodingLanguageId) -> Option<Ordering>
fn partial_cmp(&self, other: &PlatformEncodingLanguageId) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for PlatformEncodingLanguageId
impl Eq for PlatformEncodingLanguageId
impl StructuralEq for PlatformEncodingLanguageId
impl StructuralPartialEq for PlatformEncodingLanguageId
Auto Trait Implementations§
impl RefUnwindSafe for PlatformEncodingLanguageId
impl Send for PlatformEncodingLanguageId
impl Sync for PlatformEncodingLanguageId
impl Unpin for PlatformEncodingLanguageId
impl UnwindSafe for PlatformEncodingLanguageId
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