#[repr(C)]
pub struct U512(pub [u64; 8]);
Little-endian large integer type
This method returns an Ordering
between self
and other
. Read more
fn max(self, other: Self) -> Self | 1.21.0 [src] |
[−]
Compares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self | 1.21.0 [src] |
[−]
Compares and returns the minimum of two values. Read more
This method tests for self
and other
values to be equal, and is used by ==
. Read more
This method tests for !=
.
The resulting type after applying the *
operator.
Performs the *
operation.
Formats the value using the given formatter. Read more
The associated error which can be returned from parsing.
Parses a string s
to return a value of this type. Read more
The resulting type after applying the ^
operator.
Performs the ^
operation.
[−]
Feeds this value into the given [Hasher
]. Read more
Feeds a slice of this type into the given [Hasher
]. Read more
Convert from a decimal string.
Conversion to u32 with overflow checking
Conversion to u64 with overflow checking
Return the least number of bits needed to represent the number
Return if specific bit is set
Convert to the sequence of bytes with a big endian
Convert to the sequence of bytes with a little endian
Convert to a non-zero-prefixed hex representation (not prefixed by 0x
).
Returns new instance equalling zero.
Returns new instance equalling one.
Returns the largest value that can be represented by this integer type.
Fast exponentation by squaring
https://en.wikipedia.org/wiki/Exponentiation_by_squaring
Fast exponentation by squaring
https://en.wikipedia.org/wiki/Exponentiation_by_squaring
Subtract another Uint
from this returning result and possible overflow
Multiple this Uint
with other returning result and possible overflow
Divide this Uint
by other returning result and possible overflow
Returns reminder of division of this Uint
by other and possible overflow
Returns negation of this Uint
and overflow (always true)
The resulting type after applying the !
operator.
Performs the unary !
operation.
The resulting type after applying the <<
operator.
Performs the <<
operation.
The resulting type after applying the /
operator.
Performs the /
operation.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
This method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more
Formats the value using the given formatter. Read more
Formats the value using the given formatter.
Performs copy-assignment from source
. Read more
The resulting type after applying the &
operator.
Performs the &
operation.
The resulting type after applying the +
operator.
Performs the +
operation.
The resulting type after applying the %
operator.
Performs the %
operation.
Returns the "default value" for a type. Read more
The resulting type after applying the >>
operator.
Performs the >>
operation.
The resulting type after applying the -
operator.
Performs the -
operation.
The resulting type after applying the |
operator.
Performs the |
operation.
Creates owned data from borrowed data, usually by cloning. Read more
🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
Converts the given value to a String
. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Immutably borrows from an owned value. Read more
[−]
type Error = <U as TryFrom<T>>::Error
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
[−]
🔬 This is a nightly-only experimental API. (try_from
)
[−]
[−]
[−]
🔬 This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static