pub struct U256Val(/* private fields */);
Implementations§
Trait Implementations§
Source§impl CheckedEnvArg for U256Val
impl CheckedEnvArg for U256Val
Source§impl From<U256Object> for U256Val
impl From<U256Object> for U256Val
Source§fn from(ob: U256Object) -> U256Val
fn from(ob: U256Object) -> U256Val
Converts to this type from the input type.
Source§impl TryFrom<U256Val> for U256Object
impl TryFrom<U256Val> for U256Object
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(
s: U256Val,
) -> Result<U256Object, <U256Object as TryFrom<U256Val>>::Error>
fn try_from( s: U256Val, ) -> Result<U256Object, <U256Object as TryFrom<U256Val>>::Error>
Performs the conversion.
Source§impl<E> TryFromVal<E, &U256Val> for Valwhere
E: Env,
impl<E> TryFromVal<E, &U256Val> for Valwhere
E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &&U256Val, ) -> Result<Val, <Val as TryFromVal<E, &U256Val>>::Error>
Source§impl<E> TryFromVal<E, U256Val> for Valwhere
E: Env,
impl<E> TryFromVal<E, U256Val> for Valwhere
E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &U256Val, ) -> Result<Val, <Val as TryFromVal<E, U256Val>>::Error>
Source§impl<E> TryFromVal<E, Val> for U256Valwhere
E: Env,
impl<E> TryFromVal<E, Val> for U256Valwhere
E: Env,
type Error = ConversionError
fn try_from_val( _env: &E, val: &Val, ) -> Result<U256Val, <U256Val as TryFromVal<E, Val>>::Error>
impl Copy for U256Val
Auto Trait Implementations§
impl Freeze for U256Val
impl RefUnwindSafe for U256Val
impl Send for U256Val
impl Sync for U256Val
impl Unpin for U256Val
impl UnwindSafe for U256Val
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