pub struct LunarMonth {
pub month_number: u32,
pub is_leap_month: bool,
pub start: CivilDate,
pub days: u32,
pub boundary_uncertain: bool,
}Expand description
One month of a lunisolar year: its number, leap flag, Gregorian start date (正月初一 etc., Beijing), and length in days (29 or 30).
Fields§
§month_number: u32§is_leap_month: bool§start: CivilDate§days: u32§boundary_uncertain: boolTrue if this month’s start new moon is ΔT-uncertain (see LunisolarDate).
Trait Implementations§
Source§impl Clone for LunarMonth
impl Clone for LunarMonth
Source§fn clone(&self) -> LunarMonth
fn clone(&self) -> LunarMonth
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 LunarMonth
Source§impl Debug for LunarMonth
impl Debug for LunarMonth
impl Eq for LunarMonth
Source§impl PartialEq for LunarMonth
impl PartialEq for LunarMonth
impl StructuralPartialEq for LunarMonth
Auto Trait Implementations§
impl Freeze for LunarMonth
impl RefUnwindSafe for LunarMonth
impl Send for LunarMonth
impl Sync for LunarMonth
impl Unpin for LunarMonth
impl UnsafeUnpin for LunarMonth
impl UnwindSafe for LunarMonth
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