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