pub struct CldrVersion {
pub major: u16,
pub minor: u8,
pub patch: u8,
}Expand description
The CLDR version of a catalog’s locale data.
Fields§
§major: u16The release (48 of CLDR 48.2.1).
minor: u8The minor version (2).
patch: u8The patch (1).
Trait Implementations§
Source§impl Clone for CldrVersion
impl Clone for CldrVersion
impl Copy for CldrVersion
Source§impl Debug for CldrVersion
impl Debug for CldrVersion
impl Eq for CldrVersion
Source§impl Hash for CldrVersion
impl Hash for CldrVersion
Source§impl Ord for CldrVersion
impl Ord for CldrVersion
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 CldrVersion
impl PartialEq for CldrVersion
Source§impl PartialOrd for CldrVersion
impl PartialOrd for CldrVersion
impl StructuralPartialEq for CldrVersion
Auto Trait Implementations§
impl Freeze for CldrVersion
impl RefUnwindSafe for CldrVersion
impl Send for CldrVersion
impl Sync for CldrVersion
impl Unpin for CldrVersion
impl UnsafeUnpin for CldrVersion
impl UnwindSafe for CldrVersion
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