Enum temporal_rs::options::ArithmeticOverflow
source · pub enum ArithmeticOverflow {
Constrain,
Reject,
}
Expand description
ArithmeticOverflow
can also be used as an
assignment overflow and consists of the “constrain”
and “reject” options.
Variants§
Trait Implementations§
source§impl Clone for ArithmeticOverflow
impl Clone for ArithmeticOverflow
source§fn clone(&self) -> ArithmeticOverflow
fn clone(&self) -> ArithmeticOverflow
Returns a copy 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 ArithmeticOverflow
impl Debug for ArithmeticOverflow
source§impl Display for ArithmeticOverflow
impl Display for ArithmeticOverflow
source§impl FromStr for ArithmeticOverflow
impl FromStr for ArithmeticOverflow
source§impl PartialEq for ArithmeticOverflow
impl PartialEq for ArithmeticOverflow
source§fn eq(&self, other: &ArithmeticOverflow) -> bool
fn eq(&self, other: &ArithmeticOverflow) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ArithmeticOverflow
impl Eq for ArithmeticOverflow
impl StructuralPartialEq for ArithmeticOverflow
Auto Trait Implementations§
impl RefUnwindSafe for ArithmeticOverflow
impl Send for ArithmeticOverflow
impl Sync for ArithmeticOverflow
impl Unpin for ArithmeticOverflow
impl UnwindSafe for ArithmeticOverflow
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