pub trait IsInteger {
    fn is_integer(self) -> bool;
}
Expand description

Determines whether a number is an integer.

Required Methods

Implementations on Foreign Types

Determines whether a value is an integer.

For primitive integer types this always returns true.

$f(x) = \textrm{true}$.

Worst-case complexity

Constant time and additional memory.

Examples

See here.

Determines whether a value is an integer.

For primitive integer types this always returns true.

$f(x) = \textrm{true}$.

Worst-case complexity

Constant time and additional memory.

Examples

See here.

Determines whether a value is an integer.

For primitive integer types this always returns true.

$f(x) = \textrm{true}$.

Worst-case complexity

Constant time and additional memory.

Examples

See here.

Determines whether a value is an integer.

For primitive integer types this always returns true.

$f(x) = \textrm{true}$.

Worst-case complexity

Constant time and additional memory.

Examples

See here.

Determines whether a value is an integer.

For primitive integer types this always returns true.

$f(x) = \textrm{true}$.

Worst-case complexity

Constant time and additional memory.

Examples

See here.

Determines whether a value is an integer.

For primitive integer types this always returns true.

$f(x) = \textrm{true}$.

Worst-case complexity

Constant time and additional memory.

Examples

See here.

Determines whether a value is an integer.

For primitive integer types this always returns true.

$f(x) = \textrm{true}$.

Worst-case complexity

Constant time and additional memory.

Examples

See here.

Determines whether a value is an integer.

For primitive integer types this always returns true.

$f(x) = \textrm{true}$.

Worst-case complexity

Constant time and additional memory.

Examples

See here.

Determines whether a value is an integer.

For primitive integer types this always returns true.

$f(x) = \textrm{true}$.

Worst-case complexity

Constant time and additional memory.

Examples

See here.

Determines whether a value is an integer.

For primitive integer types this always returns true.

$f(x) = \textrm{true}$.

Worst-case complexity

Constant time and additional memory.

Examples

See here.

Determines whether a value is an integer.

For primitive integer types this always returns true.

$f(x) = \textrm{true}$.

Worst-case complexity

Constant time and additional memory.

Examples

See here.

Determines whether a value is an integer.

For primitive integer types this always returns true.

$f(x) = \textrm{true}$.

Worst-case complexity

Constant time and additional memory.

Examples

See here.

Determines whether a value is an integer.

$f(x) = (x \in \Z)$.

Worst-case complexity

Constant time and additional memory.

Examples

See here.

Determines whether a value is an integer.

$f(x) = (x \in \Z)$.

Worst-case complexity

Constant time and additional memory.

Examples

See here.

Implementors