Struct bigint2::U512
[−]
[src]
#[repr(C)]pub struct U512(_);
Represents an unsigned 512-bit integer.
Methods
impl U512
[src]
Trait Implementations
impl Eq for U512
[src]
impl PartialEq for U512
[src]
fn eq(&self, __arg_0: &U512) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &U512) -> bool
This method tests for !=
.
impl Debug for U512
[src]
impl Copy for U512
[src]
impl Clone for U512
[src]
fn clone(&self) -> U512
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 Hash for U512
[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl From<U256> for U512
[src]
impl Into<U256> for U512
[src]
impl Ord for U512
[src]
fn cmp(&self, other: &U512) -> Ordering
This method returns an Ordering
between self
and other
. Read more
impl PartialOrd for U512
[src]
fn partial_cmp(&self, other: &U512) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
fn lt(&self, other: &Rhs) -> bool
1.0.0
This method tests less than (for self
and other
) and is used by the <
operator. Read more
fn le(&self, other: &Rhs) -> bool
1.0.0
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
fn gt(&self, other: &Rhs) -> bool
1.0.0
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
fn ge(&self, other: &Rhs) -> bool
1.0.0
This method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more
impl BitAnd<U512> for U512
[src]
type Output = U512
The resulting type after applying the &
operator
fn bitand(self, other: U512) -> U512
The method for the &
operator
impl Shl<usize> for U512
[src]
type Output = U512
The resulting type after applying the <<
operator
fn shl(self, shift: usize) -> U512
The method for the <<
operator
impl Shr<usize> for U512
[src]
type Output = U512
The resulting type after applying the >>
operator
fn shr(self, shift: usize) -> U512
The method for the >>
operator
impl Add for U512
[src]
type Output = U512
The resulting type after applying the +
operator
fn add(self, other: U512) -> U512
The method for the +
operator
impl Sub for U512
[src]
type Output = U512
The resulting type after applying the -
operator
fn sub(self, other: U512) -> U512
The method for the -
operator
impl Mul for U512
[src]
type Output = U512
The resulting type after applying the *
operator
fn mul(self, other: U512) -> U512
The method for the *
operator
impl Div for U512
[src]
type Output = U512
The resulting type after applying the /
operator
fn div(self, other: U512) -> U512
The method for the /
operator
impl Rem for U512
[src]
type Output = U512
The resulting type after applying the %
operator
fn rem(self, other: U512) -> U512
The method for the %
operator