Struct elrond_wasm_debug::api::RustBigInt [−][src]
pub struct RustBigInt(pub BigInt);
Implementations
impl RustBigInt
[src]
impl RustBigInt
[src]Trait Implementations
impl<'a, 'b> Add<&'b RustBigInt> for &'a RustBigInt
[src]
impl<'a, 'b> Add<&'b RustBigInt> for &'a RustBigInt
[src]type Output = RustBigInt
type Output = RustBigInt
The resulting type after applying the +
operator.
fn add(self, other: &RustBigInt) -> RustBigInt
[src]
fn add(self, other: &RustBigInt) -> RustBigInt
[src]Performs the +
operation. Read more
impl Add<RustBigInt> for RustBigInt
[src]
impl Add<RustBigInt> for RustBigInt
[src]type Output = RustBigInt
type Output = RustBigInt
The resulting type after applying the +
operator.
fn add(self, other: RustBigInt) -> RustBigInt
[src]
fn add(self, other: RustBigInt) -> RustBigInt
[src]Performs the +
operation. Read more
impl AddAssign<&'_ RustBigInt> for RustBigInt
[src]
impl AddAssign<&'_ RustBigInt> for RustBigInt
[src]fn add_assign(&mut self, other: &RustBigInt)
[src]
fn add_assign(&mut self, other: &RustBigInt)
[src]Performs the +=
operation. Read more
impl AddAssign<RustBigInt> for RustBigInt
[src]
impl AddAssign<RustBigInt> for RustBigInt
[src]fn add_assign(&mut self, other: Self)
[src]
fn add_assign(&mut self, other: Self)
[src]Performs the +=
operation. Read more
impl BigIntApi for RustBigInt
[src]
impl BigIntApi for RustBigInt
[src]impl Clone for RustBigInt
[src]
impl Clone for RustBigInt
[src]impl Debug for RustBigInt
[src]
impl Debug for RustBigInt
[src]impl Display for RustBigInt
[src]
impl Display for RustBigInt
[src]impl<'a, 'b> Div<&'b RustBigInt> for &'a RustBigInt
[src]
impl<'a, 'b> Div<&'b RustBigInt> for &'a RustBigInt
[src]type Output = RustBigInt
type Output = RustBigInt
The resulting type after applying the /
operator.
fn div(self, other: &RustBigInt) -> RustBigInt
[src]
fn div(self, other: &RustBigInt) -> RustBigInt
[src]Performs the /
operation. Read more
impl Div<RustBigInt> for RustBigInt
[src]
impl Div<RustBigInt> for RustBigInt
[src]type Output = RustBigInt
type Output = RustBigInt
The resulting type after applying the /
operator.
fn div(self, other: RustBigInt) -> RustBigInt
[src]
fn div(self, other: RustBigInt) -> RustBigInt
[src]Performs the /
operation. Read more
impl DivAssign<&'_ RustBigInt> for RustBigInt
[src]
impl DivAssign<&'_ RustBigInt> for RustBigInt
[src]fn div_assign(&mut self, other: &RustBigInt)
[src]
fn div_assign(&mut self, other: &RustBigInt)
[src]Performs the /=
operation. Read more
impl DivAssign<RustBigInt> for RustBigInt
[src]
impl DivAssign<RustBigInt> for RustBigInt
[src]fn div_assign(&mut self, other: Self)
[src]
fn div_assign(&mut self, other: Self)
[src]Performs the /=
operation. Read more
impl From<RustBigUint> for RustBigInt
[src]
impl From<RustBigUint> for RustBigInt
[src]fn from(item: RustBigUint) -> Self
[src]
fn from(item: RustBigUint) -> Self
[src]Performs the conversion.
impl<'a, 'b> Mul<&'b RustBigInt> for &'a RustBigInt
[src]
impl<'a, 'b> Mul<&'b RustBigInt> for &'a RustBigInt
[src]type Output = RustBigInt
type Output = RustBigInt
The resulting type after applying the *
operator.
fn mul(self, other: &RustBigInt) -> RustBigInt
[src]
fn mul(self, other: &RustBigInt) -> RustBigInt
[src]Performs the *
operation. Read more
impl Mul<RustBigInt> for RustBigInt
[src]
impl Mul<RustBigInt> for RustBigInt
[src]type Output = RustBigInt
type Output = RustBigInt
The resulting type after applying the *
operator.
fn mul(self, other: RustBigInt) -> RustBigInt
[src]
fn mul(self, other: RustBigInt) -> RustBigInt
[src]Performs the *
operation. Read more
impl MulAssign<&'_ RustBigInt> for RustBigInt
[src]
impl MulAssign<&'_ RustBigInt> for RustBigInt
[src]fn mul_assign(&mut self, other: &RustBigInt)
[src]
fn mul_assign(&mut self, other: &RustBigInt)
[src]Performs the *=
operation. Read more
impl MulAssign<RustBigInt> for RustBigInt
[src]
impl MulAssign<RustBigInt> for RustBigInt
[src]fn mul_assign(&mut self, other: Self)
[src]
fn mul_assign(&mut self, other: Self)
[src]Performs the *=
operation. Read more
impl Neg for RustBigInt
[src]
impl Neg for RustBigInt
[src]impl NestedDecode for RustBigInt
[src]
impl NestedDecode for RustBigInt
[src]const TYPE_INFO: TypeInfo
[src]
fn dep_decode<I: NestedDecodeInput>(input: &mut I) -> Result<Self, DecodeError>
[src]
fn dep_decode<I: NestedDecodeInput>(input: &mut I) -> Result<Self, DecodeError>
[src]Attempt to deserialise the value from input, using the format of an object nested inside another structure. In case of success returns the deserialized value and the number of bytes consumed during the operation. Read more
fn dep_decode_or_exit<I: NestedDecodeInput, ExitCtx: Clone>(
input: &mut I,
c: ExitCtx,
exit: fn(_: ExitCtx, _: DecodeError) -> !
) -> Self
[src]
fn dep_decode_or_exit<I: NestedDecodeInput, ExitCtx: Clone>(
input: &mut I,
c: ExitCtx,
exit: fn(_: ExitCtx, _: DecodeError) -> !
) -> Self
[src]Version of top_decode
that exits quickly in case of error.
Its purpose is to create smaller implementations
in cases where the application is supposed to exit directly on decode error. Read more
impl NestedEncode for RustBigInt
[src]
impl NestedEncode for RustBigInt
[src]const TYPE_INFO: TypeInfo
[src]
fn dep_encode<O: NestedEncodeOutput>(
&self,
dest: &mut O
) -> Result<(), EncodeError>
[src]
fn dep_encode<O: NestedEncodeOutput>(
&self,
dest: &mut O
) -> Result<(), EncodeError>
[src]NestedEncode to output, using the format of an object nested inside another structure. Does not provide compact version. Read more
fn dep_encode_or_exit<O: NestedEncodeOutput, ExitCtx: Clone>(
&self,
dest: &mut O,
c: ExitCtx,
exit: fn(_: ExitCtx, _: EncodeError) -> !
)
[src]
fn dep_encode_or_exit<O: NestedEncodeOutput, ExitCtx: Clone>(
&self,
dest: &mut O,
c: ExitCtx,
exit: fn(_: ExitCtx, _: EncodeError) -> !
)
[src]Version of top_decode
that exits quickly in case of error.
Its purpose is to create smaller implementations
in cases where the application is supposed to exit directly on decode error. Read more
impl Ord for RustBigInt
[src]
impl Ord for RustBigInt
[src]impl PartialEq<RustBigInt> for RustBigInt
[src]
impl PartialEq<RustBigInt> for RustBigInt
[src]impl PartialEq<i64> for RustBigInt
[src]
impl PartialEq<i64> for RustBigInt
[src]impl PartialOrd<RustBigInt> for RustBigInt
[src]
impl PartialOrd<RustBigInt> for RustBigInt
[src]fn partial_cmp(&self, other: &Self) -> Option<Ordering>
[src]
fn partial_cmp(&self, other: &Self) -> Option<Ordering>
[src]This method returns an ordering between self
and other
values if one exists. Read more
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]This method tests less than (for self
and other
) and is used by the <
operator. Read more
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
impl PartialOrd<i64> for RustBigInt
[src]
impl PartialOrd<i64> for RustBigInt
[src]fn partial_cmp(&self, other: &i64) -> Option<Ordering>
[src]
fn partial_cmp(&self, other: &i64) -> Option<Ordering>
[src]This method returns an ordering between self
and other
values if one exists. Read more
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]This method tests less than (for self
and other
) and is used by the <
operator. Read more
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
impl<'a, 'b> Rem<&'b RustBigInt> for &'a RustBigInt
[src]
impl<'a, 'b> Rem<&'b RustBigInt> for &'a RustBigInt
[src]type Output = RustBigInt
type Output = RustBigInt
The resulting type after applying the %
operator.
fn rem(self, other: &RustBigInt) -> RustBigInt
[src]
fn rem(self, other: &RustBigInt) -> RustBigInt
[src]Performs the %
operation. Read more
impl Rem<RustBigInt> for RustBigInt
[src]
impl Rem<RustBigInt> for RustBigInt
[src]type Output = RustBigInt
type Output = RustBigInt
The resulting type after applying the %
operator.
fn rem(self, other: RustBigInt) -> RustBigInt
[src]
fn rem(self, other: RustBigInt) -> RustBigInt
[src]Performs the %
operation. Read more
impl RemAssign<&'_ RustBigInt> for RustBigInt
[src]
impl RemAssign<&'_ RustBigInt> for RustBigInt
[src]fn rem_assign(&mut self, other: &RustBigInt)
[src]
fn rem_assign(&mut self, other: &RustBigInt)
[src]Performs the %=
operation. Read more
impl RemAssign<RustBigInt> for RustBigInt
[src]
impl RemAssign<RustBigInt> for RustBigInt
[src]fn rem_assign(&mut self, other: Self)
[src]
fn rem_assign(&mut self, other: Self)
[src]Performs the %=
operation. Read more
impl<'a, 'b> Sub<&'b RustBigInt> for &'a RustBigInt
[src]
impl<'a, 'b> Sub<&'b RustBigInt> for &'a RustBigInt
[src]type Output = RustBigInt
type Output = RustBigInt
The resulting type after applying the -
operator.
fn sub(self, other: &RustBigInt) -> RustBigInt
[src]
fn sub(self, other: &RustBigInt) -> RustBigInt
[src]Performs the -
operation. Read more
impl Sub<RustBigInt> for RustBigInt
[src]
impl Sub<RustBigInt> for RustBigInt
[src]type Output = RustBigInt
type Output = RustBigInt
The resulting type after applying the -
operator.
fn sub(self, other: RustBigInt) -> RustBigInt
[src]
fn sub(self, other: RustBigInt) -> RustBigInt
[src]Performs the -
operation. Read more
impl SubAssign<&'_ RustBigInt> for RustBigInt
[src]
impl SubAssign<&'_ RustBigInt> for RustBigInt
[src]fn sub_assign(&mut self, other: &RustBigInt)
[src]
fn sub_assign(&mut self, other: &RustBigInt)
[src]Performs the -=
operation. Read more
impl SubAssign<RustBigInt> for RustBigInt
[src]
impl SubAssign<RustBigInt> for RustBigInt
[src]fn sub_assign(&mut self, other: Self)
[src]
fn sub_assign(&mut self, other: Self)
[src]Performs the -=
operation. Read more
impl TopDecode for RustBigInt
[src]
impl TopDecode for RustBigInt
[src]const TYPE_INFO: TypeInfo
[src]
fn top_decode<I: TopDecodeInput>(input: I) -> Result<Self, DecodeError>
[src]
fn top_decode<I: TopDecodeInput>(input: I) -> Result<Self, DecodeError>
[src]Attempt to deserialize the value from input.
fn top_decode_or_exit<I: TopDecodeInput, ExitCtx: Clone>(
input: I,
_: ExitCtx,
_: fn(_: ExitCtx, _: DecodeError) -> !
) -> Self
[src]
fn top_decode_or_exit<I: TopDecodeInput, ExitCtx: Clone>(
input: I,
_: ExitCtx,
_: fn(_: ExitCtx, _: DecodeError) -> !
) -> Self
[src]Version of top_decode
that exits quickly in case of error.
Its purpose is to create smaller implementations
in cases where the application is supposed to exit directly on decode error. Read more
impl TopEncode for RustBigInt
[src]
impl TopEncode for RustBigInt
[src]const TYPE_INFO: TypeInfo
[src]
fn top_encode<O: TopEncodeOutput>(&self, output: O) -> Result<(), EncodeError>
[src]
fn top_encode<O: TopEncodeOutput>(&self, output: O) -> Result<(), EncodeError>
[src]Attempt to serialize the value to ouput.
fn top_encode_or_exit<O: TopEncodeOutput, ExitCtx: Clone>(
&self,
output: O,
c: ExitCtx,
exit: fn(_: ExitCtx, _: EncodeError) -> !
)
[src]
fn top_encode_or_exit<O: TopEncodeOutput, ExitCtx: Clone>(
&self,
output: O,
c: ExitCtx,
exit: fn(_: ExitCtx, _: EncodeError) -> !
)
[src]Version of top_decode
that exits quickly in case of error.
Its purpose is to create smaller bytecode implementations
in cases where the application is supposed to exit directly on decode error. Read more
impl TypeAbi for RustBigInt
[src]
impl TypeAbi for RustBigInt
[src]fn type_name() -> String
[src]
fn provide_type_descriptions<TDC>(accumulator: &mut TDC) where
TDC: TypeDescriptionContainer,
[src]
fn provide_type_descriptions<TDC>(accumulator: &mut TDC) where
TDC: TypeDescriptionContainer,
[src]A type can provide more than its own description. For instance, a struct can also provide the descriptions of the type of its fields. TypeAbi doesn’t care for the exact accumulator type, which is abstracted by the TypeDescriptionContainer trait. Read more
impl Eq for RustBigInt
[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> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ContractCallArg for T where
T: TopEncode,
[src]
impl<T> ContractCallArg for T where
T: TopEncode,
[src]impl<T> DynArg for T where
T: TopDecode,
[src]
impl<T> DynArg for T where
T: TopDecode,
[src]pub fn dyn_load<I, D>(loader: &mut D, arg_id: ArgId) -> T where
I: TopDecodeInput,
D: DynArgInput<I>,
[src]
I: TopDecodeInput,
D: DynArgInput<I>,
impl<T> EndpointResult for T where
T: TopEncode,
[src]
impl<T> EndpointResult for T where
T: TopEncode,
[src]impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
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>,