enum IslamicYearLength {
    L355,
    L354,
    L353,
}Expand description
Compact representation of the length of an Islamic year.
Variants§
L355
Long (355-day) Islamic year
L354
Short (354-day) Islamic year
L353
Unexpectedly Short (353-day) Islamic year
It is probably a bug when this year length is returned. See: https://github.com/unicode-org/icu4x/issues/4930
Implementations§
Trait Implementations§
Source§impl Clone for IslamicYearLength
 
impl Clone for IslamicYearLength
Source§fn clone(&self) -> IslamicYearLength
 
fn clone(&self) -> IslamicYearLength
Returns a duplicate 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 IslamicYearLength
 
impl Debug for IslamicYearLength
Source§impl Default for IslamicYearLength
 
impl Default for IslamicYearLength
Source§impl Hash for IslamicYearLength
 
impl Hash for IslamicYearLength
Source§impl Ord for IslamicYearLength
 
impl Ord for IslamicYearLength
Source§fn cmp(&self, other: &IslamicYearLength) -> Ordering
 
fn cmp(&self, other: &IslamicYearLength) -> 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 IslamicYearLength
 
impl PartialEq for IslamicYearLength
Source§impl PartialOrd for IslamicYearLength
 
impl PartialOrd for IslamicYearLength
impl Copy for IslamicYearLength
impl Eq for IslamicYearLength
impl StructuralPartialEq for IslamicYearLength
Auto Trait Implementations§
impl Freeze for IslamicYearLength
impl RefUnwindSafe for IslamicYearLength
impl Send for IslamicYearLength
impl Sync for IslamicYearLength
impl Unpin for IslamicYearLength
impl UnwindSafe for IslamicYearLength
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