pub struct UnicodeVersion {
pub major: u16,
pub minor: u16,
pub micro: u16,
}
Expand description
Type of UNICODE_VERSION
value:
Fields§
§major: u16
Major version.
minor: u16
Minor version.
micro: u16
Micro (or Update) version.
Implementations§
Trait Implementations§
Source§impl Clone for UnicodeVersion
impl Clone for UnicodeVersion
Source§fn clone(&self) -> UnicodeVersion
fn clone(&self) -> UnicodeVersion
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 UnicodeVersion
impl Debug for UnicodeVersion
Source§impl Default for UnicodeVersion
impl Default for UnicodeVersion
Source§fn default() -> UnicodeVersion
fn default() -> UnicodeVersion
Returns the “default value” for a type. Read more
Source§impl Display for UnicodeVersion
impl Display for UnicodeVersion
Source§impl<T: Into<u16>> From<(T, T, T)> for UnicodeVersion
NOTE: (T, T, T) is the type of Rust’s internal UNICODE_VERSION until Rust 1.20.
impl<T: Into<u16>> From<(T, T, T)> for UnicodeVersion
NOTE: (T, T, T) is the type of Rust’s internal UNICODE_VERSION until Rust 1.20.
Source§fn from(value: (T, T, T)) -> UnicodeVersion
fn from(value: (T, T, T)) -> UnicodeVersion
Converts to this type from the input type.
Source§impl Hash for UnicodeVersion
impl Hash for UnicodeVersion
Source§impl<T: From<u16>> Into<(T, T, T)> for UnicodeVersion
NOTE: (T, T, T) is the type of Rust’s internal UNICODE_VERSION until Rust 1.20.
impl<T: From<u16>> Into<(T, T, T)> for UnicodeVersion
NOTE: (T, T, T) is the type of Rust’s internal UNICODE_VERSION until Rust 1.20.
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 · 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§impl PartialOrd for UnicodeVersion
impl PartialOrd for UnicodeVersion
impl Copy for UnicodeVersion
impl Eq 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 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