[−][src]Struct elrond_wasm_debug::RustBigInt
Methods
impl RustBigInt
[src]
impl RustBigInt
[src]
pub fn to_signed_bytes_be(&self) -> Vec<u8>
[src]
Trait Implementations
impl<'a, 'b> Add<&'b RustBigInt> for &'a RustBigInt
[src]
type Output = RustBigInt
The resulting type after applying the +
operator.
fn add(self, other: &RustBigInt) -> RustBigInt
[src]
impl Add<RustBigInt> for RustBigInt
[src]
type Output = RustBigInt
The resulting type after applying the +
operator.
fn add(self, other: RustBigInt) -> RustBigInt
[src]
impl<'_> AddAssign<&'_ RustBigInt> for RustBigInt
[src]
fn add_assign(&mut self, other: &RustBigInt)
[src]
impl AddAssign<RustBigInt> for RustBigInt
[src]
fn add_assign(&mut self, other: Self)
[src]
impl BigIntApi<RustBigUint> for RustBigInt
[src]
fn abs_uint(&self) -> RustBigUint
[src]
fn sign(&self) -> Sign
[src]
fn to_signed_bytes_be(&self) -> Vec<u8>
[src]
fn phantom() -> Self
[src]
impl Clone for RustBigInt
[src]
fn clone(&self) -> Self
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl ContractHookApi<RustBigInt, RustBigUint> for ArwenMockRef
[src]
fn get_owner(&self) -> Address
[src]
fn get_caller(&self) -> Address
[src]
fn get_balance(&self, _address: &Address) -> RustBigUint
[src]
fn storage_store(&self, key: &StorageKey, value: &Vec<u8>)
[src]
fn storage_load(&self, key: &StorageKey) -> Vec<u8>
[src]
fn storage_store_bytes32(&self, key: &StorageKey, value: &[u8; 32])
[src]
fn storage_load_bytes32(&self, key: &StorageKey) -> [u8; 32]
[src]
fn storage_store_big_uint(&self, key: &StorageKey, value: &RustBigUint)
[src]
fn storage_load_big_uint(&self, key: &StorageKey) -> RustBigUint
[src]
fn storage_store_big_int(&self, _key: &StorageKey, _value: &RustBigInt)
[src]
fn storage_load_big_int(&self, _key: &StorageKey) -> RustBigInt
[src]
fn storage_store_i64(&self, key: &StorageKey, value: i64)
[src]
fn storage_load_i64(&self, key: &StorageKey) -> Option<i64>
[src]
fn get_call_value_big_uint(&self) -> RustBigUint
[src]
fn send_tx(&self, to: &Address, amount: &RustBigUint, _message: &str)
[src]
fn async_call(&self, _to: &Address, _amount: &RustBigUint, _data: &str)
[src]
fn get_gas_left(&self) -> i64
[src]
fn sha256(&self, data: &Vec<u8>) -> [u8; 32]
[src]
fn keccak256(&self, data: &Vec<u8>) -> [u8; 32]
[src]
fn get_own_balance(&self) -> BigUint
[src]
impl ContractIOApi<RustBigInt, RustBigUint> for ArwenMockRef
[src]
fn get_num_arguments(&self) -> i32
[src]
fn check_not_payable(&self) -> bool
[src]
fn get_argument_vec(&self, arg_index: i32) -> Vec<u8>
[src]
fn get_argument_bytes32(&self, arg_index: i32) -> [u8; 32]
[src]
fn get_argument_big_int(&self, arg_index: i32) -> RustBigInt
[src]
fn get_argument_big_uint(&self, _arg_index: i32) -> RustBigUint
[src]
fn get_argument_i64(&self, arg_index: i32) -> i64
[src]
fn finish_vec(&self, v: &Vec<u8>)
[src]
fn finish_bytes32(&self, bytes: &[u8; 32])
[src]
fn finish_big_int(&self, bi: &RustBigInt)
[src]
fn finish_big_uint(&self, bu: &RustBigUint)
[src]
fn finish_i64(&self, value: i64)
[src]
fn signal_error_raw(&self, message_ptr: *const u8, message_len: usize)
[src]
fn write_log(&self, _topics: &[[u8; 32]], _data: &[u8])
[src]
fn check_num_arguments(&self, expected: i32) -> bool
[src]
fn get_argument_address(&self, arg_index: i32) -> H256
[src]
fn signal_error(&self, message: &str)
[src]
impl<'a, 'b> Div<&'b RustBigInt> for &'a RustBigInt
[src]
type Output = RustBigInt
The resulting type after applying the /
operator.
fn div(self, other: &RustBigInt) -> RustBigInt
[src]
impl Div<RustBigInt> for RustBigInt
[src]
type Output = RustBigInt
The resulting type after applying the /
operator.
fn div(self, other: RustBigInt) -> RustBigInt
[src]
impl<'_> DivAssign<&'_ RustBigInt> for RustBigInt
[src]
fn div_assign(&mut self, other: &RustBigInt)
[src]
impl DivAssign<RustBigInt> for RustBigInt
[src]
fn div_assign(&mut self, other: Self)
[src]
impl Eq for RustBigInt
[src]
impl From<BigInt> for RustBigInt
[src]
impl From<RustBigUint> for RustBigInt
[src]
fn from(item: RustBigUint) -> Self
[src]
impl From<i32> for RustBigInt
[src]
impl From<i64> for RustBigInt
[src]
impl<'a, 'b> Mul<&'b RustBigInt> for &'a RustBigInt
[src]
type Output = RustBigInt
The resulting type after applying the *
operator.
fn mul(self, other: &RustBigInt) -> RustBigInt
[src]
impl Mul<RustBigInt> for RustBigInt
[src]
type Output = RustBigInt
The resulting type after applying the *
operator.
fn mul(self, other: RustBigInt) -> RustBigInt
[src]
impl<'_> MulAssign<&'_ RustBigInt> for RustBigInt
[src]
fn mul_assign(&mut self, other: &RustBigInt)
[src]
impl MulAssign<RustBigInt> for RustBigInt
[src]
fn mul_assign(&mut self, other: Self)
[src]
impl Neg for RustBigInt
[src]
type Output = RustBigInt
The resulting type after applying the -
operator.
fn neg(self) -> Self::Output
[src]
impl Ord for RustBigInt
[src]
fn cmp(&self, other: &Self) -> Ordering
[src]
#[must_use]fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn clamp(self, min: Self, max: Self) -> Self
[src]
impl PartialEq<RustBigInt> for RustBigInt
[src]
impl PartialEq<i64> for RustBigInt
[src]
impl PartialOrd<RustBigInt> for RustBigInt
[src]
fn partial_cmp(&self, other: &Self) -> Option<Ordering>
[src]
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl PartialOrd<i64> for RustBigInt
[src]
fn partial_cmp(&self, other: &i64) -> Option<Ordering>
[src]
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl<'a, 'b> Rem<&'b RustBigInt> for &'a RustBigInt
[src]
type Output = RustBigInt
The resulting type after applying the %
operator.
fn rem(self, other: &RustBigInt) -> RustBigInt
[src]
impl Rem<RustBigInt> for RustBigInt
[src]
type Output = RustBigInt
The resulting type after applying the %
operator.
fn rem(self, other: RustBigInt) -> RustBigInt
[src]
impl<'_> RemAssign<&'_ RustBigInt> for RustBigInt
[src]
fn rem_assign(&mut self, other: &RustBigInt)
[src]
impl RemAssign<RustBigInt> for RustBigInt
[src]
fn rem_assign(&mut self, other: Self)
[src]
impl<'a, 'b> Sub<&'b RustBigInt> for &'a RustBigInt
[src]
type Output = RustBigInt
The resulting type after applying the -
operator.
fn sub(self, other: &RustBigInt) -> RustBigInt
[src]
impl Sub<RustBigInt> for RustBigInt
[src]
type Output = RustBigInt
The resulting type after applying the -
operator.
fn sub(self, other: RustBigInt) -> RustBigInt
[src]
impl<'_> SubAssign<&'_ RustBigInt> for RustBigInt
[src]
fn sub_assign(&mut self, other: &RustBigInt)
[src]
impl SubAssign<RustBigInt> for RustBigInt
[src]
fn sub_assign(&mut self, other: Self)
[src]
Auto Trait Implementations
impl RefUnwindSafe for RustBigInt
impl Send for RustBigInt
impl Sync for RustBigInt
impl Unpin for RustBigInt
impl UnwindSafe for RustBigInt
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, Rhs> NumAssignOps<Rhs> for T where
T: AddAssign<Rhs> + SubAssign<Rhs> + MulAssign<Rhs> + DivAssign<Rhs> + RemAssign<Rhs>,
[src]
T: AddAssign<Rhs> + SubAssign<Rhs> + MulAssign<Rhs> + DivAssign<Rhs> + RemAssign<Rhs>,
impl<T, Rhs, Output> NumOps<Rhs, Output> for T where
T: Sub<Rhs, Output = Output> + Mul<Rhs, Output = Output> + Div<Rhs, Output = Output> + Add<Rhs, Output = Output> + Rem<Rhs, Output = Output>,
[src]
T: Sub<Rhs, Output = Output> + Mul<Rhs, Output = Output> + Div<Rhs, Output = Output> + Add<Rhs, Output = Output> + Rem<Rhs, Output = Output>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,