[−][src]Struct elrond_wasm_debug::RustBigInt
Implementations
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 from_signed_bytes_be(bytes: &[u8]) -> Self
[src]
fn zero() -> 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_own_address(&self) -> Address
[src]
fn get_caller(&self) -> Address
[src]
fn get_balance(&self, _address: &Address) -> RustBigUint
[src]
fn storage_store(&self, key: &[u8], value: &[u8])
[src]
fn storage_load(&self, key: &[u8]) -> Vec<u8>
[src]
fn storage_load_len(&self, key: &[u8]) -> usize
[src]
fn storage_store_bytes32(&self, key: &[u8], value: &[u8; 32])
[src]
fn storage_load_bytes32(&self, key: &[u8]) -> [u8; 32]
[src]
fn storage_store_big_uint(&self, key: &[u8], value: &RustBigUint)
[src]
fn storage_load_big_uint(&self, key: &[u8]) -> RustBigUint
[src]
fn storage_store_big_int(&self, key: &[u8], value: &RustBigInt)
[src]
fn storage_load_big_int(&self, key: &[u8]) -> RustBigInt
[src]
fn storage_store_i64(&self, key: &[u8], value: i64)
[src]
fn storage_load_i64(&self, key: &[u8]) -> 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: &[u8])
[src]
fn get_tx_hash(&self) -> H256
[src]
fn get_gas_left(&self) -> i64
[src]
fn get_block_timestamp(&self) -> u64
[src]
fn get_block_nonce(&self) -> u64
[src]
fn get_block_round(&self) -> u64
[src]
fn get_block_epoch(&self) -> u64
[src]
fn sha256(&self, data: &[u8]) -> [u8; 32]
[src]
fn keccak256(&self, data: &[u8]) -> [u8; 32]
[src]
fn get_own_balance(&self) -> BigUint
[src]
fn storage_load_cumulated_validator_reward(&self) -> BigUint
[src]
impl ContractIOApi<RustBigInt, RustBigUint> for ArwenMockRef
[src]
fn get_num_arguments(&self) -> i32
[src]
fn check_not_payable(&self)
[src]
fn get_argument_len(&self, arg_index: i32) -> usize
[src]
fn copy_argument_to_slice(&self, _arg_index: i32, _slice: &mut [u8])
[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_slice_u8(&self, slice: &[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 get_argument_i32(&self, arg_id: i32) -> i32
[src]
fn get_argument_isize(&self, arg_id: i32) -> isize
[src]
fn get_argument_i8(&self, arg_id: i32) -> i8
[src]
fn get_argument_u64(&self, arg_id: i32) -> u64
[src]
fn get_argument_u32(&self, arg_id: i32) -> u32
[src]
fn get_argument_usize(&self, arg_id: i32) -> usize
[src]
fn get_argument_u8(&self, arg_id: i32) -> u8
[src]
fn get_argument_bool(&self, arg_id: i32) -> bool
[src]
fn finish_u64(&self, value: u64)
[src]
fn signal_error(&self, message: &str) -> !
[src]
fn signal_esd_light_error(
&self,
ser_type: &[u8],
type_name: &[u8],
specific_msg: &[u8]
) -> !
[src]
&self,
ser_type: &[u8],
type_name: &[u8],
specific_msg: &[u8]
) -> !
fn signal_esd_serde_error(
&self,
ser_type: &str,
type_name: &str,
e: SDError
) -> !
[src]
&self,
ser_type: &str,
type_name: &str,
e: SDError
) -> !
impl Debug for RustBigInt
[src]
impl Decode for RustBigInt
[src]
fn top_decode<I: Input>(input: &mut I) -> Result<Self, DeError>
[src]
fn dep_decode<I: Input>(input: &mut I) -> Result<Self, DeError>
[src]
impl<'de> Deserialize<'de> for RustBigInt
[src]
fn deserialize<D>(deserializer: D) -> Result<RustBigInt, D::Error> where
D: Deserializer<'de>,
[src]
D: Deserializer<'de>,
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 Encode for RustBigInt
[src]
fn using_top_encoded<F: FnOnce(&[u8])>(&self, f: F)
[src]
fn dep_encode_to<O: Output>(&self, dest: &mut O)
[src]
fn top_encode(&self) -> Vec<u8>
[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 Serialize for RustBigInt
[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> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
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>,