Enum rustc_const_math::ConstMathErr
[−]
[src]
pub enum ConstMathErr { NotInRange, CmpBetweenUnequalTypes, UnequalTypes(Op), Overflow(Op), ShiftNegative, DivisionByZero, RemainderByZero, UnsignedNegation, ULitOutOfRange(UintTy), LitOutOfRange(IntTy), }
Unstable (
rustc_private
)Variants
NotInRange
Unstable (
rustc_private
)CmpBetweenUnequalTypes
Unstable (
rustc_private
)UnequalTypes(Op)
Unstable (
rustc_private
)Overflow(Op)
Unstable (
rustc_private
)ShiftNegative
Unstable (
rustc_private
)DivisionByZero
Unstable (
rustc_private
)RemainderByZero
Unstable (
rustc_private
)UnsignedNegation
Unstable (
rustc_private
)ULitOutOfRange(UintTy)
Unstable (
rustc_private
)LitOutOfRange(IntTy)
Unstable (
rustc_private
)Methods
impl ConstMathErr
[src]
fn description(&self) -> &'static str
Trait Implementations
Derived Implementations
impl Clone for ConstMathErr
[src]
fn clone(&self) -> ConstMathErr
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Eq for ConstMathErr
[src]
impl PartialEq for ConstMathErr
[src]
fn eq(&self, __arg_0: &ConstMathErr) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ConstMathErr) -> bool
This method tests for !=
.