pub struct YearMonthDay { /* private fields */ }Implementations§
Source§impl YearMonthDay
impl YearMonthDay
pub fn from_components( year: Year, month: Month, day: Day, ) -> Result<Self, DateTimeParseError>
Trait Implementations§
Source§impl Clone for YearMonthDay
impl Clone for YearMonthDay
Source§fn clone(&self) -> YearMonthDay
fn clone(&self) -> YearMonthDay
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 moreSource§impl Debug for YearMonthDay
impl Debug for YearMonthDay
Source§impl FromStr for YearMonthDay
impl FromStr for YearMonthDay
Source§impl PartialEq for YearMonthDay
impl PartialEq for YearMonthDay
Source§fn eq(&self, other: &YearMonthDay) -> bool
fn eq(&self, other: &YearMonthDay) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for YearMonthDay
Auto Trait Implementations§
impl Freeze for YearMonthDay
impl RefUnwindSafe for YearMonthDay
impl Send for YearMonthDay
impl Sync for YearMonthDay
impl Unpin for YearMonthDay
impl UnsafeUnpin for YearMonthDay
impl UnwindSafe for YearMonthDay
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