Struct evm::MI256
[−]
[src]
pub struct MI256(pub Sign, pub M256);
Represents a signed module 256-bit integer.
Methods
impl MI256
[src]
fn zero() -> MI256
[src]
Zero value of MI256.
fn one() -> MI256
[src]
One value of MI256.
fn max_value() -> MI256
[src]
Maximum value of MI256.
fn min_value() -> MI256
[src]
Minimum value of MI256.
Trait Implementations
impl Clone for MI256
[src]
fn clone(&self) -> MI256
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Copy for MI256
[src]
impl Debug for MI256
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>
[src]
Formats the value using the given formatter.
impl Eq for MI256
[src]
impl PartialEq<MI256> for MI256
[src]
fn eq(&self, __arg_0: &MI256) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &MI256) -> bool
[src]
This method tests for !=
.
impl Rem<MI256> for MI256
[src]
type Output = MI256
The resulting type after applying the %
operator.
fn rem(self, other: MI256) -> MI256
[src]
Performs the %
operation.
impl Hash for MI256
[src]
impl From<M256> for MI256
[src]
impl Div<MI256> for MI256
[src]
type Output = MI256
The resulting type after applying the /
operator.
fn div(self, other: MI256) -> MI256
[src]
Performs the /
operation.