#[repr(u16)]pub enum UnicodeEncodingId {
Unicode1_0 = 0,
Unicode1_1 = 1,
IsoIec10646 = 2,
Unicode2_0BmpOnly = 3,
Unicode2_0Full = 4,
UnicodeVariations = 5,
UnicodeFull = 6,
}Variants§
Unicode1_0 = 0
Unicode1_1 = 1
IsoIec10646 = 2
Unicode2_0BmpOnly = 3
Unicode2_0Full = 4
UnicodeVariations = 5
UnicodeFull = 6
Implementations§
Trait Implementations§
Source§impl Clone for UnicodeEncodingId
impl Clone for UnicodeEncodingId
Source§fn clone(&self) -> UnicodeEncodingId
fn clone(&self) -> UnicodeEncodingId
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 moreimpl Copy for UnicodeEncodingId
Source§impl Debug for UnicodeEncodingId
impl Debug for UnicodeEncodingId
impl Eq for UnicodeEncodingId
Source§impl From<UnicodeEncodingId> for EncodingId
impl From<UnicodeEncodingId> for EncodingId
Source§fn from(value: UnicodeEncodingId) -> Self
fn from(value: UnicodeEncodingId) -> Self
Converts to this type from the input type.
Source§impl Hash for UnicodeEncodingId
impl Hash for UnicodeEncodingId
Source§impl Ord for UnicodeEncodingId
impl Ord for UnicodeEncodingId
Source§fn cmp(&self, other: &UnicodeEncodingId) -> Ordering
fn cmp(&self, other: &UnicodeEncodingId) -> Ordering
1.21.0 (const: unstable) · 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for UnicodeEncodingId
impl PartialEq for UnicodeEncodingId
Source§impl PartialOrd for UnicodeEncodingId
impl PartialOrd for UnicodeEncodingId
impl StructuralPartialEq for UnicodeEncodingId
Auto Trait Implementations§
impl Freeze for UnicodeEncodingId
impl RefUnwindSafe for UnicodeEncodingId
impl Send for UnicodeEncodingId
impl Sync for UnicodeEncodingId
impl Unpin for UnicodeEncodingId
impl UnsafeUnpin for UnicodeEncodingId
impl UnwindSafe for UnicodeEncodingId
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