Struct elrond_wasm_node::api::ArwenBigInt [−][src]
pub struct ArwenBigInt { pub handle: i32, }
Fields
handle: i32
Implementations
impl ArwenBigInt
[src]
impl ArwenBigInt
[src]pub fn from_i64(value: i64) -> ArwenBigInt
[src]
Trait Implementations
impl<'a, 'b> Add<&'b ArwenBigInt> for &'a ArwenBigInt
[src]
impl<'a, 'b> Add<&'b ArwenBigInt> for &'a ArwenBigInt
[src]type Output = ArwenBigInt
type Output = ArwenBigInt
The resulting type after applying the +
operator.
fn add(self, other: &ArwenBigInt) -> ArwenBigInt
[src]
fn add(self, other: &ArwenBigInt) -> ArwenBigInt
[src]Performs the +
operation. Read more
impl Add<ArwenBigInt> for ArwenBigInt
[src]
impl Add<ArwenBigInt> for ArwenBigInt
[src]type Output = ArwenBigInt
type Output = ArwenBigInt
The resulting type after applying the +
operator.
fn add(self, other: ArwenBigInt) -> ArwenBigInt
[src]
fn add(self, other: ArwenBigInt) -> ArwenBigInt
[src]Performs the +
operation. Read more
impl AddAssign<&'_ ArwenBigInt> for ArwenBigInt
[src]
impl AddAssign<&'_ ArwenBigInt> for ArwenBigInt
[src]fn add_assign(&mut self, other: &ArwenBigInt)
[src]
fn add_assign(&mut self, other: &ArwenBigInt)
[src]Performs the +=
operation. Read more
impl AddAssign<ArwenBigInt> for ArwenBigInt
[src]
impl AddAssign<ArwenBigInt> for ArwenBigInt
[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 ArwenBigInt
[src]
impl BigIntApi for ArwenBigInt
[src]type BigUint = ArwenBigUint
fn abs_uint(&self) -> ArwenBigUint
[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 ArwenBigInt
[src]
impl Clone for ArwenBigInt
[src]impl<'a, 'b> Div<&'b ArwenBigInt> for &'a ArwenBigInt
[src]
impl<'a, 'b> Div<&'b ArwenBigInt> for &'a ArwenBigInt
[src]type Output = ArwenBigInt
type Output = ArwenBigInt
The resulting type after applying the /
operator.
fn div(self, other: &ArwenBigInt) -> ArwenBigInt
[src]
fn div(self, other: &ArwenBigInt) -> ArwenBigInt
[src]Performs the /
operation. Read more
impl Div<ArwenBigInt> for ArwenBigInt
[src]
impl Div<ArwenBigInt> for ArwenBigInt
[src]type Output = ArwenBigInt
type Output = ArwenBigInt
The resulting type after applying the /
operator.
fn div(self, other: ArwenBigInt) -> ArwenBigInt
[src]
fn div(self, other: ArwenBigInt) -> ArwenBigInt
[src]Performs the /
operation. Read more
impl DivAssign<&'_ ArwenBigInt> for ArwenBigInt
[src]
impl DivAssign<&'_ ArwenBigInt> for ArwenBigInt
[src]fn div_assign(&mut self, other: &ArwenBigInt)
[src]
fn div_assign(&mut self, other: &ArwenBigInt)
[src]Performs the /=
operation. Read more
impl DivAssign<ArwenBigInt> for ArwenBigInt
[src]
impl DivAssign<ArwenBigInt> for ArwenBigInt
[src]fn div_assign(&mut self, other: Self)
[src]
fn div_assign(&mut self, other: Self)
[src]Performs the /=
operation. Read more
impl From<ArwenBigUint> for ArwenBigInt
[src]
impl From<ArwenBigUint> for ArwenBigInt
[src]fn from(item: ArwenBigUint) -> Self
[src]
fn from(item: ArwenBigUint) -> Self
[src]Performs the conversion.
impl From<i32> for ArwenBigInt
[src]
impl From<i32> for ArwenBigInt
[src]impl From<i64> for ArwenBigInt
[src]
impl From<i64> for ArwenBigInt
[src]impl<'a, 'b> Mul<&'b ArwenBigInt> for &'a ArwenBigInt
[src]
impl<'a, 'b> Mul<&'b ArwenBigInt> for &'a ArwenBigInt
[src]type Output = ArwenBigInt
type Output = ArwenBigInt
The resulting type after applying the *
operator.
fn mul(self, other: &ArwenBigInt) -> ArwenBigInt
[src]
fn mul(self, other: &ArwenBigInt) -> ArwenBigInt
[src]Performs the *
operation. Read more
impl Mul<ArwenBigInt> for ArwenBigInt
[src]
impl Mul<ArwenBigInt> for ArwenBigInt
[src]type Output = ArwenBigInt
type Output = ArwenBigInt
The resulting type after applying the *
operator.
fn mul(self, other: ArwenBigInt) -> ArwenBigInt
[src]
fn mul(self, other: ArwenBigInt) -> ArwenBigInt
[src]Performs the *
operation. Read more
impl MulAssign<&'_ ArwenBigInt> for ArwenBigInt
[src]
impl MulAssign<&'_ ArwenBigInt> for ArwenBigInt
[src]fn mul_assign(&mut self, other: &ArwenBigInt)
[src]
fn mul_assign(&mut self, other: &ArwenBigInt)
[src]Performs the *=
operation. Read more
impl MulAssign<ArwenBigInt> for ArwenBigInt
[src]
impl MulAssign<ArwenBigInt> for ArwenBigInt
[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 ArwenBigInt
[src]
impl Neg for ArwenBigInt
[src]impl NestedDecode for ArwenBigInt
[src]
impl NestedDecode for ArwenBigInt
[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 ArwenBigInt
[src]
impl NestedEncode for ArwenBigInt
[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 ArwenBigInt
[src]
impl Ord for ArwenBigInt
[src]impl PartialEq<ArwenBigInt> for ArwenBigInt
[src]
impl PartialEq<ArwenBigInt> for ArwenBigInt
[src]impl PartialEq<i64> for ArwenBigInt
[src]
impl PartialEq<i64> for ArwenBigInt
[src]impl PartialOrd<ArwenBigInt> for ArwenBigInt
[src]
impl PartialOrd<ArwenBigInt> for ArwenBigInt
[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 ArwenBigInt
[src]
impl PartialOrd<i64> for ArwenBigInt
[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 ArwenBigInt> for &'a ArwenBigInt
[src]
impl<'a, 'b> Rem<&'b ArwenBigInt> for &'a ArwenBigInt
[src]type Output = ArwenBigInt
type Output = ArwenBigInt
The resulting type after applying the %
operator.
fn rem(self, other: &ArwenBigInt) -> ArwenBigInt
[src]
fn rem(self, other: &ArwenBigInt) -> ArwenBigInt
[src]Performs the %
operation. Read more
impl Rem<ArwenBigInt> for ArwenBigInt
[src]
impl Rem<ArwenBigInt> for ArwenBigInt
[src]type Output = ArwenBigInt
type Output = ArwenBigInt
The resulting type after applying the %
operator.
fn rem(self, other: ArwenBigInt) -> ArwenBigInt
[src]
fn rem(self, other: ArwenBigInt) -> ArwenBigInt
[src]Performs the %
operation. Read more
impl RemAssign<&'_ ArwenBigInt> for ArwenBigInt
[src]
impl RemAssign<&'_ ArwenBigInt> for ArwenBigInt
[src]fn rem_assign(&mut self, other: &ArwenBigInt)
[src]
fn rem_assign(&mut self, other: &ArwenBigInt)
[src]Performs the %=
operation. Read more
impl RemAssign<ArwenBigInt> for ArwenBigInt
[src]
impl RemAssign<ArwenBigInt> for ArwenBigInt
[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 ArwenBigInt> for &'a ArwenBigInt
[src]
impl<'a, 'b> Sub<&'b ArwenBigInt> for &'a ArwenBigInt
[src]type Output = ArwenBigInt
type Output = ArwenBigInt
The resulting type after applying the -
operator.
fn sub(self, other: &ArwenBigInt) -> ArwenBigInt
[src]
fn sub(self, other: &ArwenBigInt) -> ArwenBigInt
[src]Performs the -
operation. Read more
impl Sub<ArwenBigInt> for ArwenBigInt
[src]
impl Sub<ArwenBigInt> for ArwenBigInt
[src]type Output = ArwenBigInt
type Output = ArwenBigInt
The resulting type after applying the -
operator.
fn sub(self, other: ArwenBigInt) -> ArwenBigInt
[src]
fn sub(self, other: ArwenBigInt) -> ArwenBigInt
[src]Performs the -
operation. Read more
impl SubAssign<&'_ ArwenBigInt> for ArwenBigInt
[src]
impl SubAssign<&'_ ArwenBigInt> for ArwenBigInt
[src]fn sub_assign(&mut self, other: &ArwenBigInt)
[src]
fn sub_assign(&mut self, other: &ArwenBigInt)
[src]Performs the -=
operation. Read more
impl SubAssign<ArwenBigInt> for ArwenBigInt
[src]
impl SubAssign<ArwenBigInt> for ArwenBigInt
[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 ArwenBigInt
[src]
impl TopDecode for ArwenBigInt
[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 ArwenBigInt
[src]
impl TopEncode for ArwenBigInt
[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,
_: ExitCtx,
_: fn(_: ExitCtx, _: EncodeError) -> !
)
[src]
fn top_encode_or_exit<O: TopEncodeOutput, ExitCtx: Clone>(
&self,
output: O,
_: ExitCtx,
_: 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 ArwenBigInt
[src]
impl TypeAbi for ArwenBigInt
[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 ArwenBigInt
[src]
Auto Trait Implementations
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]pub fn push_async_arg(&self, serializer: &mut ArgBuffer) -> Result<(), SCError>
[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> 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