Trait elrond_wasm::api::BigIntApi [−][src]
pub trait BigIntApi: Sized + From<Self::BigUint> + From<i64> + From<i32> + Clone + Add<Output = Self> + AddAssign + Sub<Output = Self> + SubAssign + Mul<Output = Self> + MulAssign + Div<Output = Self> + DivAssign + Rem<Output = Self> + RemAssign + Neg + PartialEq<Self> + Eq + PartialOrd<Self> + Ord + PartialEq<i64> + PartialOrd<i64> + NestedEncode + TopEncode + NestedDecode + TopDecode + TypeAbi { type BigUint; fn abs_uint(&self) -> Self::BigUint; fn sign(&self) -> Sign; fn to_signed_bytes_be(&self) -> Vec<u8>; fn from_signed_bytes_be(bytes: &[u8]) -> Self; fn zero() -> Self { ... } }
Expand description
Definition of the BigInt type required by the API.
Associated Types
Required methods
fn abs_uint(&self) -> Self::BigUint
[src]
fn sign(&self) -> Sign
[src]
fn to_signed_bytes_be(&self) -> Vec<u8>
[src]
fn from_signed_bytes_be(bytes: &[u8]) -> Self
[src]
Provided methods
Implementors
impl BigIntApi for BigIntUncallable
[src]
impl BigIntApi for BigIntUncallable
[src]