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
NotInRangeUnstable (
rustc_private)CmpBetweenUnequalTypesUnstable (
rustc_private)UnequalTypes(Op)Unstable (
rustc_private)Overflow(Op)Unstable (
rustc_private)ShiftNegativeUnstable (
rustc_private)DivisionByZeroUnstable (
rustc_private)RemainderByZeroUnstable (
rustc_private)UnsignedNegationUnstable (
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 !=.