Enum rustc_const_math::ConstMathErr
[−]
[src]
pub enum ConstMathErr { NotInRange, CmpBetweenUnequalTypes, UnequalTypes(Op), Overflow(Op), ShiftNegative, DivisionByZero, RemainderByZero, UnsignedNegation, ULitOutOfRange(UintTy), LitOutOfRange(IntTy), }
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
Variants
NotInRange
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
CmpBetweenUnequalTypes
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
UnequalTypes(Op)
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
Overflow(Op)
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
ShiftNegative
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
DivisionByZero
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
RemainderByZero
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
UnsignedNegation
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
ULitOutOfRange(UintTy)
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
LitOutOfRange(IntTy)
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
Methods
impl ConstMathErr
[src]
impl ConstMathErr
pub fn description(&self) -> &'static str
[src]
pub fn description(&self) -> &'static str
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
Trait Implementations
impl Debug for ConstMathErr
[src]
impl Debug for ConstMathErr
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for ConstMathErr
[src]
impl PartialEq for ConstMathErr
fn eq(&self, __arg_0: &ConstMathErr) -> bool
[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
[src]
fn ne(&self, __arg_0: &ConstMathErr) -> bool
This method tests for !=
.
impl Eq for ConstMathErr
[src]
impl Eq for ConstMathErr
impl Clone for ConstMathErr
[src]
impl Clone for ConstMathErr
fn clone(&self) -> ConstMathErr
[src]
fn clone(&self) -> ConstMathErr
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Encodable for ConstMathErr
[src]
impl Encodable for ConstMathErr
fn encode<__S: Encoder>(&self, __arg_0: &mut __S) -> Result<(), __S::Error>
[src]
fn encode<__S: Encoder>(&self, __arg_0: &mut __S) -> Result<(), __S::Error>
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
impl Decodable for ConstMathErr
[src]
impl Decodable for ConstMathErr
Auto Trait Implementations
impl Send for ConstMathErr
impl Send for ConstMathErr
impl Sync for ConstMathErr
impl Sync for ConstMathErr