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
Source§fn clone(&self) -> CldrVersion
fn clone(&self) -> CldrVersion
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 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
Source§fn cmp(&self, other: &CldrVersion) -> Ordering
fn cmp(&self, other: &CldrVersion) -> 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 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more