pub enum IniSessionDateError {
YearOutOfRange {
year: u32,
},
MonthOutOfRange {
month: u32,
},
DayOutOfRange {
year: u32,
month: u32,
day: u32,
},
}Expand description
Errors returned when constructing an IniSessionDate.
Variants§
YearOutOfRange
The year cannot round-trip through Dear ImGui’s packed representation.
MonthOutOfRange
The month is not a Gregorian calendar month.
DayOutOfRange
The day is invalid for the supplied Gregorian year and month.
Trait Implementations§
Source§impl Clone for IniSessionDateError
impl Clone for IniSessionDateError
Source§fn clone(&self) -> IniSessionDateError
fn clone(&self) -> IniSessionDateError
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 IniSessionDateError
Source§impl Debug for IniSessionDateError
impl Debug for IniSessionDateError
Source§impl Display for IniSessionDateError
impl Display for IniSessionDateError
impl Eq for IniSessionDateError
Source§impl Error for IniSessionDateError
impl Error for IniSessionDateError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for IniSessionDateError
impl PartialEq for IniSessionDateError
impl StructuralPartialEq for IniSessionDateError
Auto Trait Implementations§
impl Freeze for IniSessionDateError
impl RefUnwindSafe for IniSessionDateError
impl Send for IniSessionDateError
impl Sync for IniSessionDateError
impl Unpin for IniSessionDateError
impl UnsafeUnpin for IniSessionDateError
impl UnwindSafe for IniSessionDateError
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