Docs.rs
num-bigint-0.1.45
num-bigint 0.1.45
Docs.rs crate page
MIT
/
Apache-2.0
Links
Homepage
Repository
crates.io
Source
Owners
cuviper
Dependencies
num-integer ^0.1.36
normal
num-traits ^0.2.0
normal
rand >=0.3.14, <0.5.0
normal
optional
rustc-serialize ^0.3.19
normal
optional
serde >=0.7.0, <0.9.0
normal
optional
rand >=0.3.14, <0.5.0
dev
autocfg ^1.4.0
build
Versions
61.29%
of the crate is documented
Go to latest version
Platform
i686-pc-windows-msvc
i686-unknown-linux-gnu
x86_64-apple-darwin
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
Rust
About docs.rs
Privacy policy
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
num_
bigint
0.1.45
BigDigit
Trait Implementations
Add<&'a BigInt>
Add<&'a BigInt>
Add<&'a BigUint>
Add<&'a BigUint>
Add<BigInt>
Add<BigInt>
Add<BigUint>
Add<BigUint>
Div<&'a BigInt>
Div<&'a BigInt>
Div<&'a BigUint>
Div<&'a BigUint>
Div<BigInt>
Div<BigInt>
Div<BigUint>
Div<BigUint>
Mul<&'a BigInt>
Mul<&'a BigInt>
Mul<&'a BigUint>
Mul<&'a BigUint>
Mul<BigInt>
Mul<BigInt>
Mul<BigUint>
Mul<BigUint>
Rem<&'a BigInt>
Rem<&'a BigInt>
Rem<&'a BigUint>
Rem<&'a BigUint>
Rem<BigInt>
Rem<BigInt>
Rem<BigUint>
Rem<BigUint>
Sub<&'a BigInt>
Sub<&'a BigInt>
Sub<&'a BigUint>
Sub<&'a BigUint>
Sub<BigInt>
Sub<BigInt>
Sub<BigUint>
Sub<BigUint>
In crate num_
bigint
num_bigint
Type Alias
BigDigit
Copy item path
Source
pub type BigDigit =
u32
;
Expand description
A
BigDigit
is a
BigUint
’s composing element.
Trait Implementations
§
Source
§
impl<'a, 'b>
Add
<&'a
BigInt
> for &'b
BigDigit
Source
§
type
Output
=
BigInt
The resulting type after applying the
+
operator.
Source
§
fn
add
(self, other: &
BigInt
) ->
BigInt
Performs the
+
operation.
Read more
Source
§
impl<'a>
Add
<&'a
BigInt
> for
BigDigit
Source
§
type
Output
=
BigInt
The resulting type after applying the
+
operator.
Source
§
fn
add
(self, other: &
BigInt
) ->
BigInt
Performs the
+
operation.
Read more
Source
§
impl<'a, 'b>
Add
<&'a
BigUint
> for &'b
BigDigit
Source
§
type
Output
=
BigUint
The resulting type after applying the
+
operator.
Source
§
fn
add
(self, other: &
BigUint
) ->
BigUint
Performs the
+
operation.
Read more
Source
§
impl<'a>
Add
<&'a
BigUint
> for
BigDigit
Source
§
type
Output
=
BigUint
The resulting type after applying the
+
operator.
Source
§
fn
add
(self, other: &
BigUint
) ->
BigUint
Performs the
+
operation.
Read more
Source
§
impl<'a>
Add
<
BigInt
> for &'a
BigDigit
Source
§
type
Output
=
BigInt
The resulting type after applying the
+
operator.
Source
§
fn
add
(self, other:
BigInt
) ->
BigInt
Performs the
+
operation.
Read more
Source
§
impl
Add
<
BigInt
> for
BigDigit
Source
§
type
Output
=
BigInt
The resulting type after applying the
+
operator.
Source
§
fn
add
(self, other:
BigInt
) ->
BigInt
Performs the
+
operation.
Read more
Source
§
impl<'a>
Add
<
BigUint
> for &'a
BigDigit
Source
§
type
Output
=
BigUint
The resulting type after applying the
+
operator.
Source
§
fn
add
(self, other:
BigUint
) ->
BigUint
Performs the
+
operation.
Read more
Source
§
impl
Add
<
BigUint
> for
BigDigit
Source
§
type
Output
=
BigUint
The resulting type after applying the
+
operator.
Source
§
fn
add
(self, other:
BigUint
) ->
BigUint
Performs the
+
operation.
Read more
Source
§
impl<'a, 'b>
Div
<&'a
BigInt
> for &'b
BigDigit
Source
§
type
Output
=
BigInt
The resulting type after applying the
/
operator.
Source
§
fn
div
(self, other: &
BigInt
) ->
BigInt
Performs the
/
operation.
Read more
Source
§
impl<'a>
Div
<&'a
BigInt
> for
BigDigit
Source
§
type
Output
=
BigInt
The resulting type after applying the
/
operator.
Source
§
fn
div
(self, other: &
BigInt
) ->
BigInt
Performs the
/
operation.
Read more
Source
§
impl<'a, 'b>
Div
<&'a
BigUint
> for &'b
BigDigit
Source
§
type
Output
=
BigUint
The resulting type after applying the
/
operator.
Source
§
fn
div
(self, other: &
BigUint
) ->
BigUint
Performs the
/
operation.
Read more
Source
§
impl<'a>
Div
<&'a
BigUint
> for
BigDigit
Source
§
type
Output
=
BigUint
The resulting type after applying the
/
operator.
Source
§
fn
div
(self, other: &
BigUint
) ->
BigUint
Performs the
/
operation.
Read more
Source
§
impl<'a>
Div
<
BigInt
> for &'a
BigDigit
Source
§
type
Output
=
BigInt
The resulting type after applying the
/
operator.
Source
§
fn
div
(self, other:
BigInt
) ->
BigInt
Performs the
/
operation.
Read more
Source
§
impl
Div
<
BigInt
> for
BigDigit
Source
§
type
Output
=
BigInt
The resulting type after applying the
/
operator.
Source
§
fn
div
(self, other:
BigInt
) ->
BigInt
Performs the
/
operation.
Read more
Source
§
impl<'a>
Div
<
BigUint
> for &'a
BigDigit
Source
§
type
Output
=
BigUint
The resulting type after applying the
/
operator.
Source
§
fn
div
(self, other:
BigUint
) ->
BigUint
Performs the
/
operation.
Read more
Source
§
impl
Div
<
BigUint
> for
BigDigit
Source
§
type
Output
=
BigUint
The resulting type after applying the
/
operator.
Source
§
fn
div
(self, other:
BigUint
) ->
BigUint
Performs the
/
operation.
Read more
Source
§
impl<'a, 'b>
Mul
<&'a
BigInt
> for &'b
BigDigit
Source
§
type
Output
=
BigInt
The resulting type after applying the
*
operator.
Source
§
fn
mul
(self, other: &
BigInt
) ->
BigInt
Performs the
*
operation.
Read more
Source
§
impl<'a>
Mul
<&'a
BigInt
> for
BigDigit
Source
§
type
Output
=
BigInt
The resulting type after applying the
*
operator.
Source
§
fn
mul
(self, other: &
BigInt
) ->
BigInt
Performs the
*
operation.
Read more
Source
§
impl<'a, 'b>
Mul
<&'a
BigUint
> for &'b
BigDigit
Source
§
type
Output
=
BigUint
The resulting type after applying the
*
operator.
Source
§
fn
mul
(self, other: &
BigUint
) ->
BigUint
Performs the
*
operation.
Read more
Source
§
impl<'a>
Mul
<&'a
BigUint
> for
BigDigit
Source
§
type
Output
=
BigUint
The resulting type after applying the
*
operator.
Source
§
fn
mul
(self, other: &
BigUint
) ->
BigUint
Performs the
*
operation.
Read more
Source
§
impl<'a>
Mul
<
BigInt
> for &'a
BigDigit
Source
§
type
Output
=
BigInt
The resulting type after applying the
*
operator.
Source
§
fn
mul
(self, other:
BigInt
) ->
BigInt
Performs the
*
operation.
Read more
Source
§
impl
Mul
<
BigInt
> for
BigDigit
Source
§
type
Output
=
BigInt
The resulting type after applying the
*
operator.
Source
§
fn
mul
(self, other:
BigInt
) ->
BigInt
Performs the
*
operation.
Read more
Source
§
impl<'a>
Mul
<
BigUint
> for &'a
BigDigit
Source
§
type
Output
=
BigUint
The resulting type after applying the
*
operator.
Source
§
fn
mul
(self, other:
BigUint
) ->
BigUint
Performs the
*
operation.
Read more
Source
§
impl
Mul
<
BigUint
> for
BigDigit
Source
§
type
Output
=
BigUint
The resulting type after applying the
*
operator.
Source
§
fn
mul
(self, other:
BigUint
) ->
BigUint
Performs the
*
operation.
Read more
Source
§
impl<'a, 'b>
Rem
<&'a
BigInt
> for &'b
BigDigit
Source
§
type
Output
=
BigInt
The resulting type after applying the
%
operator.
Source
§
fn
rem
(self, other: &
BigInt
) ->
BigInt
Performs the
%
operation.
Read more
Source
§
impl<'a>
Rem
<&'a
BigInt
> for
BigDigit
Source
§
type
Output
=
BigInt
The resulting type after applying the
%
operator.
Source
§
fn
rem
(self, other: &
BigInt
) ->
BigInt
Performs the
%
operation.
Read more
Source
§
impl<'a, 'b>
Rem
<&'a
BigUint
> for &'b
BigDigit
Source
§
type
Output
=
BigUint
The resulting type after applying the
%
operator.
Source
§
fn
rem
(self, other: &
BigUint
) ->
BigUint
Performs the
%
operation.
Read more
Source
§
impl<'a>
Rem
<&'a
BigUint
> for
BigDigit
Source
§
type
Output
=
BigUint
The resulting type after applying the
%
operator.
Source
§
fn
rem
(self, other: &
BigUint
) ->
BigUint
Performs the
%
operation.
Read more
Source
§
impl<'a>
Rem
<
BigInt
> for &'a
BigDigit
Source
§
type
Output
=
BigInt
The resulting type after applying the
%
operator.
Source
§
fn
rem
(self, other:
BigInt
) ->
BigInt
Performs the
%
operation.
Read more
Source
§
impl
Rem
<
BigInt
> for
BigDigit
Source
§
type
Output
=
BigInt
The resulting type after applying the
%
operator.
Source
§
fn
rem
(self, other:
BigInt
) ->
BigInt
Performs the
%
operation.
Read more
Source
§
impl<'a>
Rem
<
BigUint
> for &'a
BigDigit
Source
§
type
Output
=
BigUint
The resulting type after applying the
%
operator.
Source
§
fn
rem
(self, other:
BigUint
) ->
BigUint
Performs the
%
operation.
Read more
Source
§
impl
Rem
<
BigUint
> for
BigDigit
Source
§
type
Output
=
BigUint
The resulting type after applying the
%
operator.
Source
§
fn
rem
(self, other:
BigUint
) ->
BigUint
Performs the
%
operation.
Read more
Source
§
impl<'a, 'b>
Sub
<&'a
BigInt
> for &'b
BigDigit
Source
§
type
Output
=
BigInt
The resulting type after applying the
-
operator.
Source
§
fn
sub
(self, other: &
BigInt
) ->
BigInt
Performs the
-
operation.
Read more
Source
§
impl<'a>
Sub
<&'a
BigInt
> for
BigDigit
Source
§
type
Output
=
BigInt
The resulting type after applying the
-
operator.
Source
§
fn
sub
(self, other: &
BigInt
) ->
BigInt
Performs the
-
operation.
Read more
Source
§
impl<'a, 'b>
Sub
<&'a
BigUint
> for &'b
BigDigit
Source
§
type
Output
=
BigUint
The resulting type after applying the
-
operator.
Source
§
fn
sub
(self, other: &
BigUint
) ->
BigUint
Performs the
-
operation.
Read more
Source
§
impl<'a>
Sub
<&'a
BigUint
> for
BigDigit
Source
§
type
Output
=
BigUint
The resulting type after applying the
-
operator.
Source
§
fn
sub
(self, other: &
BigUint
) ->
BigUint
Performs the
-
operation.
Read more
Source
§
impl<'a>
Sub
<
BigInt
> for &'a
BigDigit
Source
§
type
Output
=
BigInt
The resulting type after applying the
-
operator.
Source
§
fn
sub
(self, other:
BigInt
) ->
BigInt
Performs the
-
operation.
Read more
Source
§
impl
Sub
<
BigInt
> for
BigDigit
Source
§
type
Output
=
BigInt
The resulting type after applying the
-
operator.
Source
§
fn
sub
(self, other:
BigInt
) ->
BigInt
Performs the
-
operation.
Read more
Source
§
impl<'a>
Sub
<
BigUint
> for &'a
BigDigit
Source
§
type
Output
=
BigUint
The resulting type after applying the
-
operator.
Source
§
fn
sub
(self, other:
BigUint
) ->
BigUint
Performs the
-
operation.
Read more
Source
§
impl
Sub
<
BigUint
> for
BigDigit
Source
§
type
Output
=
BigUint
The resulting type after applying the
-
operator.
Source
§
fn
sub
(self, other:
BigUint
) ->
BigUint
Performs the
-
operation.
Read more