Struct dharitri_wasm::api::uncallable::BigIntUncallable
source · pub struct BigIntUncallable;Expand description
Dummy type that implements BigIntApi.
Currently used to simplify generating ABIs, since we are not interested in values there.
Being completely content-less it can exist in dharitri-wasm in a no-std environment.
Trait Implementations§
source§impl<'a, 'b> Add<&'b BigIntUncallable> for &'a BigIntUncallable
impl<'a, 'b> Add<&'b BigIntUncallable> for &'a BigIntUncallable
§type Output = BigIntUncallable
type Output = BigIntUncallable
The resulting type after applying the
+ operator.source§fn add(self, _other: &BigIntUncallable) -> BigIntUncallable
fn add(self, _other: &BigIntUncallable) -> BigIntUncallable
Performs the
+ operation. Read moresource§impl Add for BigIntUncallable
impl Add for BigIntUncallable
§type Output = BigIntUncallable
type Output = BigIntUncallable
The resulting type after applying the
+ operator.source§fn add(self, _other: BigIntUncallable) -> BigIntUncallable
fn add(self, _other: BigIntUncallable) -> BigIntUncallable
Performs the
+ operation. Read moresource§impl AddAssign<&BigIntUncallable> for BigIntUncallable
impl AddAssign<&BigIntUncallable> for BigIntUncallable
source§fn add_assign(&mut self, _other: &BigIntUncallable)
fn add_assign(&mut self, _other: &BigIntUncallable)
Performs the
+= operation. Read moresource§impl AddAssign for BigIntUncallable
impl AddAssign for BigIntUncallable
source§fn add_assign(&mut self, _other: Self)
fn add_assign(&mut self, _other: Self)
Performs the
+= operation. Read moresource§impl BigIntApi for BigIntUncallable
impl BigIntApi for BigIntUncallable
type BigUint = BigUintUncallable
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 pow(&self, _exp: u32) -> Self
source§fn to_i64(&self) -> Option<i64>
fn to_i64(&self) -> Option<i64>
Will return
None if the number is too big or too small to be converted.fn zero() -> Self
source§impl Clone for BigIntUncallable
impl Clone for BigIntUncallable
source§impl<'a, 'b> Div<&'b BigIntUncallable> for &'a BigIntUncallable
impl<'a, 'b> Div<&'b BigIntUncallable> for &'a BigIntUncallable
§type Output = BigIntUncallable
type Output = BigIntUncallable
The resulting type after applying the
/ operator.source§fn div(self, _other: &BigIntUncallable) -> BigIntUncallable
fn div(self, _other: &BigIntUncallable) -> BigIntUncallable
Performs the
/ operation. Read moresource§impl Div for BigIntUncallable
impl Div for BigIntUncallable
§type Output = BigIntUncallable
type Output = BigIntUncallable
The resulting type after applying the
/ operator.source§fn div(self, _other: BigIntUncallable) -> BigIntUncallable
fn div(self, _other: BigIntUncallable) -> BigIntUncallable
Performs the
/ operation. Read moresource§impl DivAssign<&BigIntUncallable> for BigIntUncallable
impl DivAssign<&BigIntUncallable> for BigIntUncallable
source§fn div_assign(&mut self, _other: &BigIntUncallable)
fn div_assign(&mut self, _other: &BigIntUncallable)
Performs the
/= operation. Read moresource§impl DivAssign for BigIntUncallable
impl DivAssign for BigIntUncallable
source§fn div_assign(&mut self, _other: Self)
fn div_assign(&mut self, _other: Self)
Performs the
/= operation. Read moresource§impl From<BigUintUncallable> for BigIntUncallable
impl From<BigUintUncallable> for BigIntUncallable
source§fn from(_item: BigUintUncallable) -> Self
fn from(_item: BigUintUncallable) -> Self
Converts to this type from the input type.
source§impl From<i32> for BigIntUncallable
impl From<i32> for BigIntUncallable
source§impl From<i64> for BigIntUncallable
impl From<i64> for BigIntUncallable
source§impl<'a, 'b> Mul<&'b BigIntUncallable> for &'a BigIntUncallable
impl<'a, 'b> Mul<&'b BigIntUncallable> for &'a BigIntUncallable
§type Output = BigIntUncallable
type Output = BigIntUncallable
The resulting type after applying the
* operator.source§fn mul(self, _other: &BigIntUncallable) -> BigIntUncallable
fn mul(self, _other: &BigIntUncallable) -> BigIntUncallable
Performs the
* operation. Read moresource§impl Mul for BigIntUncallable
impl Mul for BigIntUncallable
§type Output = BigIntUncallable
type Output = BigIntUncallable
The resulting type after applying the
* operator.source§fn mul(self, _other: BigIntUncallable) -> BigIntUncallable
fn mul(self, _other: BigIntUncallable) -> BigIntUncallable
Performs the
* operation. Read moresource§impl MulAssign<&BigIntUncallable> for BigIntUncallable
impl MulAssign<&BigIntUncallable> for BigIntUncallable
source§fn mul_assign(&mut self, _other: &BigIntUncallable)
fn mul_assign(&mut self, _other: &BigIntUncallable)
Performs the
*= operation. Read moresource§impl MulAssign for BigIntUncallable
impl MulAssign for BigIntUncallable
source§fn mul_assign(&mut self, _other: Self)
fn mul_assign(&mut self, _other: Self)
Performs the
*= operation. Read moresource§impl Neg for BigIntUncallable
impl Neg for BigIntUncallable
source§impl NestedDecode for BigIntUncallable
impl NestedDecode for BigIntUncallable
source§fn dep_decode<I: NestedDecodeInput>(_input: &mut I) -> Result<Self, DecodeError>
fn dep_decode<I: NestedDecodeInput>(_input: &mut I) -> Result<Self, DecodeError>
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.
source§fn dep_decode_or_exit<I: NestedDecodeInput, ExitCtx: Clone>(
_input: &mut I,
_c: ExitCtx,
_exit: fn(_: ExitCtx, _: DecodeError) -> !
) -> Self
fn dep_decode_or_exit<I: NestedDecodeInput, ExitCtx: Clone>( _input: &mut I, _c: ExitCtx, _exit: fn(_: ExitCtx, _: DecodeError) -> ! ) -> Self
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.source§impl NestedEncode for BigIntUncallable
impl NestedEncode for BigIntUncallable
source§fn dep_encode<O: NestedEncodeOutput>(
&self,
_dest: &mut O
) -> Result<(), EncodeError>
fn dep_encode<O: NestedEncodeOutput>( &self, _dest: &mut O ) -> Result<(), EncodeError>
NestedEncode to output, using the format of an object nested inside another structure.
Does not provide compact version.
source§fn dep_encode_or_exit<O: NestedEncodeOutput, ExitCtx: Clone>(
&self,
_dest: &mut O,
_c: ExitCtx,
_exit: fn(_: ExitCtx, _: EncodeError) -> !
)
fn dep_encode_or_exit<O: NestedEncodeOutput, ExitCtx: Clone>( &self, _dest: &mut O, _c: ExitCtx, _exit: fn(_: ExitCtx, _: EncodeError) -> ! )
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.source§impl Ord for BigIntUncallable
impl Ord for BigIntUncallable
source§impl PartialEq<i64> for BigIntUncallable
impl PartialEq<i64> for BigIntUncallable
source§impl PartialEq for BigIntUncallable
impl PartialEq for BigIntUncallable
source§impl PartialOrd<i64> for BigIntUncallable
impl PartialOrd<i64> for BigIntUncallable
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moresource§impl PartialOrd for BigIntUncallable
impl PartialOrd for BigIntUncallable
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moresource§impl<'a, 'b> Rem<&'b BigIntUncallable> for &'a BigIntUncallable
impl<'a, 'b> Rem<&'b BigIntUncallable> for &'a BigIntUncallable
§type Output = BigIntUncallable
type Output = BigIntUncallable
The resulting type after applying the
% operator.source§fn rem(self, _other: &BigIntUncallable) -> BigIntUncallable
fn rem(self, _other: &BigIntUncallable) -> BigIntUncallable
Performs the
% operation. Read moresource§impl Rem for BigIntUncallable
impl Rem for BigIntUncallable
§type Output = BigIntUncallable
type Output = BigIntUncallable
The resulting type after applying the
% operator.source§fn rem(self, _other: BigIntUncallable) -> BigIntUncallable
fn rem(self, _other: BigIntUncallable) -> BigIntUncallable
Performs the
% operation. Read moresource§impl RemAssign<&BigIntUncallable> for BigIntUncallable
impl RemAssign<&BigIntUncallable> for BigIntUncallable
source§fn rem_assign(&mut self, _other: &BigIntUncallable)
fn rem_assign(&mut self, _other: &BigIntUncallable)
Performs the
%= operation. Read moresource§impl RemAssign for BigIntUncallable
impl RemAssign for BigIntUncallable
source§fn rem_assign(&mut self, _other: Self)
fn rem_assign(&mut self, _other: Self)
Performs the
%= operation. Read moresource§impl<'a, 'b> Sub<&'b BigIntUncallable> for &'a BigIntUncallable
impl<'a, 'b> Sub<&'b BigIntUncallable> for &'a BigIntUncallable
§type Output = BigIntUncallable
type Output = BigIntUncallable
The resulting type after applying the
- operator.source§fn sub(self, _other: &BigIntUncallable) -> BigIntUncallable
fn sub(self, _other: &BigIntUncallable) -> BigIntUncallable
Performs the
- operation. Read moresource§impl Sub for BigIntUncallable
impl Sub for BigIntUncallable
§type Output = BigIntUncallable
type Output = BigIntUncallable
The resulting type after applying the
- operator.source§fn sub(self, _other: BigIntUncallable) -> BigIntUncallable
fn sub(self, _other: BigIntUncallable) -> BigIntUncallable
Performs the
- operation. Read moresource§impl SubAssign<&BigIntUncallable> for BigIntUncallable
impl SubAssign<&BigIntUncallable> for BigIntUncallable
source§fn sub_assign(&mut self, _other: &BigIntUncallable)
fn sub_assign(&mut self, _other: &BigIntUncallable)
Performs the
-= operation. Read moresource§impl SubAssign for BigIntUncallable
impl SubAssign for BigIntUncallable
source§fn sub_assign(&mut self, _other: Self)
fn sub_assign(&mut self, _other: Self)
Performs the
-= operation. Read moresource§impl TopDecode for BigIntUncallable
impl TopDecode for BigIntUncallable
source§fn top_decode<I: TopDecodeInput>(_input: I) -> Result<Self, DecodeError>
fn top_decode<I: TopDecodeInput>(_input: I) -> Result<Self, DecodeError>
Attempt to deserialize the value from input.
source§fn top_decode_or_exit<I: TopDecodeInput, ExitCtx: Clone>(
_input: I,
_: ExitCtx,
_: fn(_: ExitCtx, _: DecodeError) -> !
) -> Self
fn top_decode_or_exit<I: TopDecodeInput, ExitCtx: Clone>( _input: I, _: ExitCtx, _: fn(_: ExitCtx, _: DecodeError) -> ! ) -> Self
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.source§impl TopEncode for BigIntUncallable
impl TopEncode for BigIntUncallable
source§fn top_encode<O: TopEncodeOutput>(&self, _output: O) -> Result<(), EncodeError>
fn top_encode<O: TopEncodeOutput>(&self, _output: O) -> Result<(), EncodeError>
Attempt to serialize the value to ouput.
source§fn top_encode_or_exit<O: TopEncodeOutput, ExitCtx: Clone>(
&self,
_output: O,
_c: ExitCtx,
_exit: fn(_: ExitCtx, _: EncodeError) -> !
)
fn top_encode_or_exit<O: TopEncodeOutput, ExitCtx: Clone>( &self, _output: O, _c: ExitCtx, _exit: fn(_: ExitCtx, _: EncodeError) -> ! )
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.source§impl TypeAbi for BigIntUncallable
impl TypeAbi for BigIntUncallable
fn type_name() -> String
source§fn provide_type_descriptions<TDC: TypeDescriptionContainer>(
accumulator: &mut TDC
)
fn provide_type_descriptions<TDC: TypeDescriptionContainer>( accumulator: &mut TDC )
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.
impl Eq for BigIntUncallable
Auto Trait Implementations§
impl RefUnwindSafe for BigIntUncallable
impl Send for BigIntUncallable
impl Sync for BigIntUncallable
impl Unpin for BigIntUncallable
impl UnwindSafe for BigIntUncallable
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more