pub struct UnicodeVersion {
pub major: u64,
pub minor: u64,
pub update: u64,
}Expand description
A Unicode version, such as 17.0.0.
Fields§
§major: u64The major version.
minor: u64The minor version.
update: u64The update version.
Trait Implementations§
Source§impl Clone for UnicodeVersion
impl Clone for UnicodeVersion
impl Copy for UnicodeVersion
Source§impl Debug for UnicodeVersion
impl Debug for UnicodeVersion
impl Eq for UnicodeVersion
Source§impl Hash for UnicodeVersion
impl Hash for UnicodeVersion
Source§impl Ord for UnicodeVersion
impl Ord for UnicodeVersion
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 UnicodeVersion
impl PartialEq for UnicodeVersion
Source§impl PartialOrd for UnicodeVersion
impl PartialOrd for UnicodeVersion
impl StructuralPartialEq for UnicodeVersion
Auto Trait Implementations§
impl Forget for UnicodeVersion
impl Freeze for UnicodeVersion
impl Move 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