pub struct Year {
pub value: Extracted<i32>,
}Expand description
Extracted year component.
Uses i32 to accommodate the full range required by the spec (0–3000) and
to leave room for historical (negative / BC) years if needed in future.
Fields§
§value: Extracted<i32>Trait Implementations§
Auto Trait Implementations§
impl Freeze for Year
impl RefUnwindSafe for Year
impl Send for Year
impl Sync for Year
impl Unpin for Year
impl UnsafeUnpin for Year
impl UnwindSafe for Year
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