#[repr(u16)]pub enum UnicodeVersion {
Version1_0 = 0,
Version1_1 = 1,
Iso10646 = 2,
Unicode2BmpOnly = 3,
Unicode2 = 4,
Unknown(u16),
}Variants§
Trait Implementations§
Source§impl Clone for UnicodeVersion
impl Clone for UnicodeVersion
Source§fn clone(&self) -> UnicodeVersion
fn clone(&self) -> UnicodeVersion
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 UnicodeVersion
Source§impl Debug for UnicodeVersion
impl Debug for UnicodeVersion
impl Eq for UnicodeVersion
Source§impl From<UnicodeVersion> for u16
impl From<UnicodeVersion> for u16
Source§fn from(enum_value: UnicodeVersion) -> Self
fn from(enum_value: UnicodeVersion) -> Self
Converts to this type from the input type.
Source§impl From<u16> for UnicodeVersion
impl From<u16> for UnicodeVersion
Source§impl FromPrimitive for UnicodeVersion
impl FromPrimitive for UnicodeVersion
Source§impl Ord for UnicodeVersion
impl Ord for UnicodeVersion
Source§fn cmp(&self, other: &UnicodeVersion) -> Ordering
fn cmp(&self, other: &UnicodeVersion) -> 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
Source§impl PartialEq for UnicodeVersion
impl PartialEq for UnicodeVersion
Source§fn eq(&self, other: &UnicodeVersion) -> bool
fn eq(&self, other: &UnicodeVersion) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for UnicodeVersion
impl PartialOrd for UnicodeVersion
impl StructuralPartialEq for UnicodeVersion
Auto Trait Implementations§
impl Freeze for UnicodeVersion
impl RefUnwindSafe for UnicodeVersion
impl Send for UnicodeVersion
impl Sync for UnicodeVersion
impl Unpin for UnicodeVersion
impl UnsafeUnpin for UnicodeVersion
impl UnwindSafe for UnicodeVersion
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