# Struct u256::U256
[−]
[src]

#[repr(C)]pub struct U256(_);

## Methods

`impl U256`

[src]

`fn zero() -> U256`

`fn low_u32(&self) -> u32`

`fn mul_u32(self, other: u32) -> U256`

`fn bits(&self) -> usize`

## Trait Implementations

`impl Eq for U256`

[src]

`impl PartialEq for U256`

[src]

`fn eq(&self, __arg_0: &U256) -> bool`

This method tests for `self`

and `other`

values to be equal, and is used by `==`

. Read more

`fn ne(&self, __arg_0: &U256) -> bool`

This method tests for `!=`

.

`impl Debug for U256`

[src]

`impl Copy for U256`

[src]

`impl Clone for U256`

[src]

`fn clone(&self) -> U256`

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 From<u64> for U256`

[src]

`impl Into<u64> for U256`

[src]

`fn into(self) -> u64`

Performs the conversion.

`impl From<usize> for U256`

[src]

`impl Into<usize> for U256`

[src]

`fn into(self) -> usize`

Performs the conversion.

`impl From<i32> for U256`

[src]

`impl<'a> From<&'a [u8]> for U256`

[src]

`impl Not for U256`

[src]

`type Output = U256`

The resulting type after applying the `!`

operator

`fn not(self) -> U256`

The method for the unary `!`

operator

`impl Add for U256`

[src]

`type Output = U256`

The resulting type after applying the `+`

operator

`fn add(self, other: U256) -> U256`

The method for the `+`

operator

`impl Sub for U256`

[src]

`type Output = U256`

The resulting type after applying the `-`

operator

`fn sub(self, other: U256) -> U256`

The method for the `-`

operator

`impl Mul for U256`

[src]

`type Output = U256`

The resulting type after applying the `*`

operator

`fn mul(self, other: U256) -> U256`

The method for the `*`

operator

`impl Div for U256`

[src]

`type Output = U256`

The resulting type after applying the `/`

operator

`fn div(self, other: U256) -> U256`

The method for the `/`

operator

`impl Ord for U256`

[src]

`fn cmp(&self, other: &U256) -> Ordering`

This method returns an `Ordering`

between `self`

and `other`

. Read more

`impl PartialOrd for U256`

[src]

`fn partial_cmp(&self, other: &U256) -> 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 Shl<usize> for U256`

[src]

`type Output = U256`

The resulting type after applying the `<<`

operator

`fn shl(self, shift: usize) -> U256`

The method for the `<<`

operator