Struct soroban_env_common::Val
source · pub struct Val(/* private fields */);
Implementations§
source§impl Val
impl Val
sourcepub const fn can_represent_scval_type(scv_ty: ScValType) -> bool
pub const fn can_represent_scval_type(scv_ty: ScValType) -> bool
Some ScVals are not representable as Vals at all, and only exist in the XDR to serve as special storage system key or value payloads managed by the Host.
pub fn can_represent_scval(scv: &ScVal) -> bool
sourcepub fn is_good(self) -> bool
pub fn is_good(self) -> bool
We define a “good” Val as one that has one of the allowed tag values, all the defined body-bits for its case set to valid values, and all the undefined body-bits set to zero.
pub const fn get_payload(self) -> u64
pub const fn from_payload(x: u64) -> Self
pub const fn shallow_eq(&self, other: &Self) -> bool
pub const fn get_tag(self) -> Tag
pub const fn is_object(self) -> bool
pub const fn from_void() -> Void
pub const fn from_bool(b: bool) -> Bool
pub const fn is_void(self) -> bool
pub const fn is_true(self) -> bool
pub const fn is_false(self) -> bool
source§impl Val
impl Val
pub const I32_ZERO: I32Val = _
pub const I32_MIN: I32Val = _
pub const I32_MAX: I32Val = _
pub const U32_ZERO: U32Val = _
pub const U32_ONE: U32Val = _
pub const U32_MIN: U32Val = _
pub const U32_MAX: U32Val = _
pub const VOID: Void = _
pub const TRUE: Bool = _
pub const FALSE: Bool = _
Trait Implementations§
source§impl AsMut<Val> for AddressObject
impl AsMut<Val> for AddressObject
source§impl AsMut<Val> for BytesObject
impl AsMut<Val> for BytesObject
source§impl AsMut<Val> for DurationObject
impl AsMut<Val> for DurationObject
source§impl AsMut<Val> for DurationSmall
impl AsMut<Val> for DurationSmall
source§impl AsMut<Val> for DurationVal
impl AsMut<Val> for DurationVal
source§impl AsMut<Val> for I128Object
impl AsMut<Val> for I128Object
source§impl AsMut<Val> for I256Object
impl AsMut<Val> for I256Object
source§impl AsMut<Val> for StringObject
impl AsMut<Val> for StringObject
source§impl AsMut<Val> for SymbolObject
impl AsMut<Val> for SymbolObject
source§impl AsMut<Val> for SymbolSmall
impl AsMut<Val> for SymbolSmall
source§impl AsMut<Val> for TimepointObject
impl AsMut<Val> for TimepointObject
source§impl AsMut<Val> for TimepointSmall
impl AsMut<Val> for TimepointSmall
source§impl AsMut<Val> for TimepointVal
impl AsMut<Val> for TimepointVal
source§impl AsMut<Val> for U128Object
impl AsMut<Val> for U128Object
source§impl AsMut<Val> for U256Object
impl AsMut<Val> for U256Object
source§impl AsRef<Val> for AddressObject
impl AsRef<Val> for AddressObject
source§impl AsRef<Val> for BytesObject
impl AsRef<Val> for BytesObject
source§impl AsRef<Val> for DurationObject
impl AsRef<Val> for DurationObject
source§impl AsRef<Val> for DurationSmall
impl AsRef<Val> for DurationSmall
source§impl AsRef<Val> for DurationVal
impl AsRef<Val> for DurationVal
source§impl AsRef<Val> for I128Object
impl AsRef<Val> for I128Object
source§impl AsRef<Val> for I256Object
impl AsRef<Val> for I256Object
source§impl AsRef<Val> for StringObject
impl AsRef<Val> for StringObject
source§impl AsRef<Val> for SymbolObject
impl AsRef<Val> for SymbolObject
source§impl AsRef<Val> for SymbolSmall
impl AsRef<Val> for SymbolSmall
source§impl AsRef<Val> for TimepointObject
impl AsRef<Val> for TimepointObject
source§impl AsRef<Val> for TimepointSmall
impl AsRef<Val> for TimepointSmall
source§impl AsRef<Val> for TimepointVal
impl AsRef<Val> for TimepointVal
source§impl AsRef<Val> for U128Object
impl AsRef<Val> for U128Object
source§impl AsRef<Val> for U256Object
impl AsRef<Val> for U256Object
source§impl CheckedEnvArg for Val
impl CheckedEnvArg for Val
source§impl From<&AddressObject> for Val
impl From<&AddressObject> for Val
source§fn from(b: &AddressObject) -> Self
fn from(b: &AddressObject) -> Self
Converts to this type from the input type.
source§impl From<&BytesObject> for Val
impl From<&BytesObject> for Val
source§fn from(b: &BytesObject) -> Self
fn from(b: &BytesObject) -> Self
Converts to this type from the input type.
source§impl From<&DurationObject> for Val
impl From<&DurationObject> for Val
source§fn from(b: &DurationObject) -> Self
fn from(b: &DurationObject) -> Self
Converts to this type from the input type.
source§impl From<&DurationSmall> for Val
impl From<&DurationSmall> for Val
source§fn from(b: &DurationSmall) -> Self
fn from(b: &DurationSmall) -> Self
Converts to this type from the input type.
source§impl From<&DurationVal> for Val
impl From<&DurationVal> for Val
source§fn from(b: &DurationVal) -> Self
fn from(b: &DurationVal) -> Self
Converts to this type from the input type.
source§impl From<&I128Object> for Val
impl From<&I128Object> for Val
source§fn from(b: &I128Object) -> Self
fn from(b: &I128Object) -> Self
Converts to this type from the input type.
source§impl From<&I256Object> for Val
impl From<&I256Object> for Val
source§fn from(b: &I256Object) -> Self
fn from(b: &I256Object) -> Self
Converts to this type from the input type.
source§impl From<&StringObject> for Val
impl From<&StringObject> for Val
source§fn from(b: &StringObject) -> Self
fn from(b: &StringObject) -> Self
Converts to this type from the input type.
source§impl From<&SymbolObject> for Val
impl From<&SymbolObject> for Val
source§fn from(b: &SymbolObject) -> Self
fn from(b: &SymbolObject) -> Self
Converts to this type from the input type.
source§impl From<&SymbolSmall> for Val
impl From<&SymbolSmall> for Val
source§fn from(b: &SymbolSmall) -> Self
fn from(b: &SymbolSmall) -> Self
Converts to this type from the input type.
source§impl From<&TimepointObject> for Val
impl From<&TimepointObject> for Val
source§fn from(b: &TimepointObject) -> Self
fn from(b: &TimepointObject) -> Self
Converts to this type from the input type.
source§impl From<&TimepointSmall> for Val
impl From<&TimepointSmall> for Val
source§fn from(b: &TimepointSmall) -> Self
fn from(b: &TimepointSmall) -> Self
Converts to this type from the input type.
source§impl From<&TimepointVal> for Val
impl From<&TimepointVal> for Val
source§fn from(b: &TimepointVal) -> Self
fn from(b: &TimepointVal) -> Self
Converts to this type from the input type.
source§impl From<&U128Object> for Val
impl From<&U128Object> for Val
source§fn from(b: &U128Object) -> Self
fn from(b: &U128Object) -> Self
Converts to this type from the input type.
source§impl From<&U256Object> for Val
impl From<&U256Object> for Val
source§fn from(b: &U256Object) -> Self
fn from(b: &U256Object) -> Self
Converts to this type from the input type.
source§impl From<AddressObject> for Val
impl From<AddressObject> for Val
source§fn from(b: AddressObject) -> Self
fn from(b: AddressObject) -> Self
Converts to this type from the input type.
source§impl From<BytesObject> for Val
impl From<BytesObject> for Val
source§fn from(b: BytesObject) -> Self
fn from(b: BytesObject) -> Self
Converts to this type from the input type.
source§impl From<DurationObject> for Val
impl From<DurationObject> for Val
source§fn from(b: DurationObject) -> Self
fn from(b: DurationObject) -> Self
Converts to this type from the input type.
source§impl From<DurationSmall> for Val
impl From<DurationSmall> for Val
source§fn from(b: DurationSmall) -> Self
fn from(b: DurationSmall) -> Self
Converts to this type from the input type.
source§impl From<DurationVal> for Val
impl From<DurationVal> for Val
source§fn from(b: DurationVal) -> Self
fn from(b: DurationVal) -> Self
Converts to this type from the input type.
source§impl From<I128Object> for Val
impl From<I128Object> for Val
source§fn from(b: I128Object) -> Self
fn from(b: I128Object) -> Self
Converts to this type from the input type.
source§impl From<I256Object> for Val
impl From<I256Object> for Val
source§fn from(b: I256Object) -> Self
fn from(b: I256Object) -> Self
Converts to this type from the input type.
source§impl From<StringObject> for Val
impl From<StringObject> for Val
source§fn from(b: StringObject) -> Self
fn from(b: StringObject) -> Self
Converts to this type from the input type.
source§impl From<SymbolObject> for Val
impl From<SymbolObject> for Val
source§fn from(b: SymbolObject) -> Self
fn from(b: SymbolObject) -> Self
Converts to this type from the input type.
source§impl From<SymbolSmall> for Val
impl From<SymbolSmall> for Val
source§fn from(b: SymbolSmall) -> Self
fn from(b: SymbolSmall) -> Self
Converts to this type from the input type.
source§impl From<TimepointObject> for Val
impl From<TimepointObject> for Val
source§fn from(b: TimepointObject) -> Self
fn from(b: TimepointObject) -> Self
Converts to this type from the input type.
source§impl From<TimepointSmall> for Val
impl From<TimepointSmall> for Val
source§fn from(b: TimepointSmall) -> Self
fn from(b: TimepointSmall) -> Self
Converts to this type from the input type.
source§impl From<TimepointVal> for Val
impl From<TimepointVal> for Val
source§fn from(b: TimepointVal) -> Self
fn from(b: TimepointVal) -> Self
Converts to this type from the input type.
source§impl From<U128Object> for Val
impl From<U128Object> for Val
source§fn from(b: U128Object) -> Self
fn from(b: U128Object) -> Self
Converts to this type from the input type.
source§impl From<U256Object> for Val
impl From<U256Object> for Val
source§fn from(b: U256Object) -> Self
fn from(b: U256Object) -> Self
Converts to this type from the input type.
source§impl TryFrom<&Val> for AddressObject
impl TryFrom<&Val> for AddressObject
source§impl TryFrom<&Val> for BytesObject
impl TryFrom<&Val> for BytesObject
source§impl TryFrom<&Val> for DurationObject
impl TryFrom<&Val> for DurationObject
source§impl TryFrom<&Val> for DurationSmall
impl TryFrom<&Val> for DurationSmall
source§impl TryFrom<&Val> for DurationVal
impl TryFrom<&Val> for DurationVal
source§impl TryFrom<&Val> for I128Object
impl TryFrom<&Val> for I128Object
source§impl TryFrom<&Val> for I256Object
impl TryFrom<&Val> for I256Object
source§impl TryFrom<&Val> for StringObject
impl TryFrom<&Val> for StringObject
source§impl TryFrom<&Val> for SymbolObject
impl TryFrom<&Val> for SymbolObject
source§impl TryFrom<&Val> for SymbolSmall
impl TryFrom<&Val> for SymbolSmall
source§impl TryFrom<&Val> for TimepointObject
impl TryFrom<&Val> for TimepointObject
source§impl TryFrom<&Val> for TimepointSmall
impl TryFrom<&Val> for TimepointSmall
source§impl TryFrom<&Val> for TimepointVal
impl TryFrom<&Val> for TimepointVal
source§impl TryFrom<&Val> for U128Object
impl TryFrom<&Val> for U128Object
source§impl TryFrom<&Val> for U256Object
impl TryFrom<&Val> for U256Object
source§impl TryFrom<Val> for AddressObject
impl TryFrom<Val> for AddressObject
source§impl TryFrom<Val> for BytesObject
impl TryFrom<Val> for BytesObject
source§impl TryFrom<Val> for DurationObject
impl TryFrom<Val> for DurationObject
source§impl TryFrom<Val> for DurationSmall
impl TryFrom<Val> for DurationSmall
source§impl TryFrom<Val> for DurationVal
impl TryFrom<Val> for DurationVal
source§impl TryFrom<Val> for I128Object
impl TryFrom<Val> for I128Object
source§impl TryFrom<Val> for I256Object
impl TryFrom<Val> for I256Object
source§impl TryFrom<Val> for StringObject
impl TryFrom<Val> for StringObject
source§impl TryFrom<Val> for SymbolObject
impl TryFrom<Val> for SymbolObject
source§impl TryFrom<Val> for SymbolSmall
impl TryFrom<Val> for SymbolSmall
source§impl TryFrom<Val> for TimepointObject
impl TryFrom<Val> for TimepointObject
source§impl TryFrom<Val> for TimepointSmall
impl TryFrom<Val> for TimepointSmall
source§impl TryFrom<Val> for TimepointVal
impl TryFrom<Val> for TimepointVal
source§impl TryFrom<Val> for U128Object
impl TryFrom<Val> for U128Object
source§impl TryFrom<Val> for U256Object
impl TryFrom<Val> for U256Object
source§impl<E: Env> TryFromVal<E, ()> for Val
impl<E: Env> TryFromVal<E, ()> for Val
type Error = ConversionError
fn try_from_val(_env: &E, val: &()) -> Result<Self, Self::Error>
source§impl<E: Env, T0> TryFromVal<E, (T0,)> for Valwhere
T0: TryIntoVal<E, Val>,
impl<E: Env, T0> TryFromVal<E, (T0,)> for Valwhere
T0: TryIntoVal<E, Val>,
source§impl<E: Env, T0, T1, T2> TryFromVal<E, (T0, T1, T2)> for Val
impl<E: Env, T0, T1, T2> TryFromVal<E, (T0, T1, T2)> for Val
type Error = Error
fn try_from_val(env: &E, v: &(T0, T1, T2)) -> Result<Self, Self::Error>
source§impl<E: Env, T0, T1, T2, T3> TryFromVal<E, (T0, T1, T2, T3)> for Valwhere
T0: TryIntoVal<E, Val>,
T1: TryIntoVal<E, Val>,
T2: TryIntoVal<E, Val>,
T3: TryIntoVal<E, Val>,
impl<E: Env, T0, T1, T2, T3> TryFromVal<E, (T0, T1, T2, T3)> for Valwhere
T0: TryIntoVal<E, Val>,
T1: TryIntoVal<E, Val>,
T2: TryIntoVal<E, Val>,
T3: TryIntoVal<E, Val>,
type Error = Error
fn try_from_val(env: &E, v: &(T0, T1, T2, T3)) -> Result<Self, Self::Error>
source§impl<E: Env, T0, T1, T2, T3, T4> TryFromVal<E, (T0, T1, T2, T3, T4)> for Valwhere
T0: TryIntoVal<E, Val>,
T1: TryIntoVal<E, Val>,
T2: TryIntoVal<E, Val>,
T3: TryIntoVal<E, Val>,
T4: TryIntoVal<E, Val>,
impl<E: Env, T0, T1, T2, T3, T4> TryFromVal<E, (T0, T1, T2, T3, T4)> for Valwhere
T0: TryIntoVal<E, Val>,
T1: TryIntoVal<E, Val>,
T2: TryIntoVal<E, Val>,
T3: TryIntoVal<E, Val>,
T4: TryIntoVal<E, Val>,
type Error = Error
fn try_from_val(env: &E, v: &(T0, T1, T2, T3, T4)) -> Result<Self, Self::Error>
source§impl<E: Env, T0, T1, T2, T3, T4, T5> TryFromVal<E, (T0, T1, T2, T3, T4, T5)> for Valwhere
T0: TryIntoVal<E, Val>,
T1: TryIntoVal<E, Val>,
T2: TryIntoVal<E, Val>,
T3: TryIntoVal<E, Val>,
T4: TryIntoVal<E, Val>,
T5: TryIntoVal<E, Val>,
impl<E: Env, T0, T1, T2, T3, T4, T5> TryFromVal<E, (T0, T1, T2, T3, T4, T5)> for Valwhere
T0: TryIntoVal<E, Val>,
T1: TryIntoVal<E, Val>,
T2: TryIntoVal<E, Val>,
T3: TryIntoVal<E, Val>,
T4: TryIntoVal<E, Val>,
T5: TryIntoVal<E, Val>,
type Error = Error
fn try_from_val( env: &E, v: &(T0, T1, T2, T3, T4, T5) ) -> Result<Self, Self::Error>
source§impl<E: Env, T0, T1, T2, T3, T4, T5, T6> TryFromVal<E, (T0, T1, T2, T3, T4, T5, T6)> for Valwhere
T0: TryIntoVal<E, Val>,
T1: TryIntoVal<E, Val>,
T2: TryIntoVal<E, Val>,
T3: TryIntoVal<E, Val>,
T4: TryIntoVal<E, Val>,
T5: TryIntoVal<E, Val>,
T6: TryIntoVal<E, Val>,
impl<E: Env, T0, T1, T2, T3, T4, T5, T6> TryFromVal<E, (T0, T1, T2, T3, T4, T5, T6)> for Valwhere
T0: TryIntoVal<E, Val>,
T1: TryIntoVal<E, Val>,
T2: TryIntoVal<E, Val>,
T3: TryIntoVal<E, Val>,
T4: TryIntoVal<E, Val>,
T5: TryIntoVal<E, Val>,
T6: TryIntoVal<E, Val>,
type Error = Error
fn try_from_val( env: &E, v: &(T0, T1, T2, T3, T4, T5, T6) ) -> Result<Self, Self::Error>
source§impl<E: Env, T0, T1, T2, T3, T4, T5, T6, T7> TryFromVal<E, (T0, T1, T2, T3, T4, T5, T6, T7)> for Valwhere
T0: TryIntoVal<E, Val>,
T1: TryIntoVal<E, Val>,
T2: TryIntoVal<E, Val>,
T3: TryIntoVal<E, Val>,
T4: TryIntoVal<E, Val>,
T5: TryIntoVal<E, Val>,
T6: TryIntoVal<E, Val>,
T7: TryIntoVal<E, Val>,
impl<E: Env, T0, T1, T2, T3, T4, T5, T6, T7> TryFromVal<E, (T0, T1, T2, T3, T4, T5, T6, T7)> for Valwhere
T0: TryIntoVal<E, Val>,
T1: TryIntoVal<E, Val>,
T2: TryIntoVal<E, Val>,
T3: TryIntoVal<E, Val>,
T4: TryIntoVal<E, Val>,
T5: TryIntoVal<E, Val>,
T6: TryIntoVal<E, Val>,
T7: TryIntoVal<E, Val>,
type Error = Error
fn try_from_val( env: &E, v: &(T0, T1, T2, T3, T4, T5, T6, T7) ) -> Result<Self, Self::Error>
source§impl<E: Env, T0, T1, T2, T3, T4, T5, T6, T7, T8> TryFromVal<E, (T0, T1, T2, T3, T4, T5, T6, T7, T8)> for Valwhere
T0: TryIntoVal<E, Val>,
T1: TryIntoVal<E, Val>,
T2: TryIntoVal<E, Val>,
T3: TryIntoVal<E, Val>,
T4: TryIntoVal<E, Val>,
T5: TryIntoVal<E, Val>,
T6: TryIntoVal<E, Val>,
T7: TryIntoVal<E, Val>,
T8: TryIntoVal<E, Val>,
impl<E: Env, T0, T1, T2, T3, T4, T5, T6, T7, T8> TryFromVal<E, (T0, T1, T2, T3, T4, T5, T6, T7, T8)> for Valwhere
T0: TryIntoVal<E, Val>,
T1: TryIntoVal<E, Val>,
T2: TryIntoVal<E, Val>,
T3: TryIntoVal<E, Val>,
T4: TryIntoVal<E, Val>,
T5: TryIntoVal<E, Val>,
T6: TryIntoVal<E, Val>,
T7: TryIntoVal<E, Val>,
T8: TryIntoVal<E, Val>,
type Error = Error
fn try_from_val( env: &E, v: &(T0, T1, T2, T3, T4, T5, T6, T7, T8) ) -> Result<Self, Self::Error>
source§impl<E: Env, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9> TryFromVal<E, (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9)> for Valwhere
T0: TryIntoVal<E, Val>,
T1: TryIntoVal<E, Val>,
T2: TryIntoVal<E, Val>,
T3: TryIntoVal<E, Val>,
T4: TryIntoVal<E, Val>,
T5: TryIntoVal<E, Val>,
T6: TryIntoVal<E, Val>,
T7: TryIntoVal<E, Val>,
T8: TryIntoVal<E, Val>,
T9: TryIntoVal<E, Val>,
impl<E: Env, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9> TryFromVal<E, (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9)> for Valwhere
T0: TryIntoVal<E, Val>,
T1: TryIntoVal<E, Val>,
T2: TryIntoVal<E, Val>,
T3: TryIntoVal<E, Val>,
T4: TryIntoVal<E, Val>,
T5: TryIntoVal<E, Val>,
T6: TryIntoVal<E, Val>,
T7: TryIntoVal<E, Val>,
T8: TryIntoVal<E, Val>,
T9: TryIntoVal<E, Val>,
type Error = Error
fn try_from_val( env: &E, v: &(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9) ) -> Result<Self, Self::Error>
source§impl<E: Env, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> TryFromVal<E, (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10)> for Valwhere
T0: TryIntoVal<E, Val>,
T1: TryIntoVal<E, Val>,
T2: TryIntoVal<E, Val>,
T3: TryIntoVal<E, Val>,
T4: TryIntoVal<E, Val>,
T5: TryIntoVal<E, Val>,
T6: TryIntoVal<E, Val>,
T7: TryIntoVal<E, Val>,
T8: TryIntoVal<E, Val>,
T9: TryIntoVal<E, Val>,
T10: TryIntoVal<E, Val>,
impl<E: Env, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> TryFromVal<E, (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10)> for Valwhere
T0: TryIntoVal<E, Val>,
T1: TryIntoVal<E, Val>,
T2: TryIntoVal<E, Val>,
T3: TryIntoVal<E, Val>,
T4: TryIntoVal<E, Val>,
T5: TryIntoVal<E, Val>,
T6: TryIntoVal<E, Val>,
T7: TryIntoVal<E, Val>,
T8: TryIntoVal<E, Val>,
T9: TryIntoVal<E, Val>,
T10: TryIntoVal<E, Val>,
type Error = Error
fn try_from_val( env: &E, v: &(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10) ) -> Result<Self, Self::Error>
source§impl<E: Env, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> TryFromVal<E, (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)> for Valwhere
T0: TryIntoVal<E, Val>,
T1: TryIntoVal<E, Val>,
T2: TryIntoVal<E, Val>,
T3: TryIntoVal<E, Val>,
T4: TryIntoVal<E, Val>,
T5: TryIntoVal<E, Val>,
T6: TryIntoVal<E, Val>,
T7: TryIntoVal<E, Val>,
T8: TryIntoVal<E, Val>,
T9: TryIntoVal<E, Val>,
T10: TryIntoVal<E, Val>,
T11: TryIntoVal<E, Val>,
impl<E: Env, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> TryFromVal<E, (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)> for Valwhere
T0: TryIntoVal<E, Val>,
T1: TryIntoVal<E, Val>,
T2: TryIntoVal<E, Val>,
T3: TryIntoVal<E, Val>,
T4: TryIntoVal<E, Val>,
T5: TryIntoVal<E, Val>,
T6: TryIntoVal<E, Val>,
T7: TryIntoVal<E, Val>,
T8: TryIntoVal<E, Val>,
T9: TryIntoVal<E, Val>,
T10: TryIntoVal<E, Val>,
T11: TryIntoVal<E, Val>,
type Error = Error
fn try_from_val( env: &E, v: &(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) ) -> Result<Self, Self::Error>
source§impl<E: Env, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12> TryFromVal<E, (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12)> for Valwhere
T0: TryIntoVal<E, Val>,
T1: TryIntoVal<E, Val>,
T2: TryIntoVal<E, Val>,
T3: TryIntoVal<E, Val>,
T4: TryIntoVal<E, Val>,
T5: TryIntoVal<E, Val>,
T6: TryIntoVal<E, Val>,
T7: TryIntoVal<E, Val>,
T8: TryIntoVal<E, Val>,
T9: TryIntoVal<E, Val>,
T10: TryIntoVal<E, Val>,
T11: TryIntoVal<E, Val>,
T12: TryIntoVal<E, Val>,
impl<E: Env, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12> TryFromVal<E, (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12)> for Valwhere
T0: TryIntoVal<E, Val>,
T1: TryIntoVal<E, Val>,
T2: TryIntoVal<E, Val>,
T3: TryIntoVal<E, Val>,
T4: TryIntoVal<E, Val>,
T5: TryIntoVal<E, Val>,
T6: TryIntoVal<E, Val>,
T7: TryIntoVal<E, Val>,
T8: TryIntoVal<E, Val>,
T9: TryIntoVal<E, Val>,
T10: TryIntoVal<E, Val>,
T11: TryIntoVal<E, Val>,
T12: TryIntoVal<E, Val>,
type Error = Error
fn try_from_val( env: &E, v: &(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) ) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, AddressObject> for Val
impl<E: Env> TryFromVal<E, AddressObject> for Val
type Error = ConversionError
fn try_from_val(_env: &E, val: &AddressObject) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, Bool> for Val
impl<E: Env> TryFromVal<E, Bool> for Val
type Error = ConversionError
fn try_from_val(_env: &E, val: &Bool) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, BytesObject> for Val
impl<E: Env> TryFromVal<E, BytesObject> for Val
type Error = ConversionError
fn try_from_val(_env: &E, val: &BytesObject) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, DurationObject> for Val
impl<E: Env> TryFromVal<E, DurationObject> for Val
type Error = ConversionError
fn try_from_val(_env: &E, val: &DurationObject) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, DurationSmall> for Val
impl<E: Env> TryFromVal<E, DurationSmall> for Val
type Error = ConversionError
fn try_from_val(_env: &E, val: &DurationSmall) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, DurationVal> for Val
impl<E: Env> TryFromVal<E, DurationVal> for Val
type Error = ConversionError
fn try_from_val(_env: &E, val: &DurationVal) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, Error> for Val
impl<E: Env> TryFromVal<E, Error> for Val
type Error = ConversionError
fn try_from_val(_env: &E, val: &Error) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, I128Object> for Val
impl<E: Env> TryFromVal<E, I128Object> for Val
type Error = ConversionError
fn try_from_val(_env: &E, val: &I128Object) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, I128Small> for Val
impl<E: Env> TryFromVal<E, I128Small> for Val
type Error = ConversionError
fn try_from_val(_env: &E, val: &I128Small) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, I128Val> for Val
impl<E: Env> TryFromVal<E, I128Val> for Val
type Error = ConversionError
fn try_from_val(_env: &E, val: &I128Val) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, I256Object> for Val
impl<E: Env> TryFromVal<E, I256Object> for Val
type Error = ConversionError
fn try_from_val(_env: &E, val: &I256Object) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, I256Small> for Val
impl<E: Env> TryFromVal<E, I256Small> for Val
type Error = ConversionError
fn try_from_val(_env: &E, val: &I256Small) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, I256Val> for Val
impl<E: Env> TryFromVal<E, I256Val> for Val
type Error = ConversionError
fn try_from_val(_env: &E, val: &I256Val) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, I32Val> for Val
impl<E: Env> TryFromVal<E, I32Val> for Val
type Error = ConversionError
fn try_from_val(_env: &E, val: &I32Val) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, I64Object> for Val
impl<E: Env> TryFromVal<E, I64Object> for Val
type Error = ConversionError
fn try_from_val(_env: &E, val: &I64Object) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, I64Small> for Val
impl<E: Env> TryFromVal<E, I64Small> for Val
type Error = ConversionError
fn try_from_val(_env: &E, val: &I64Small) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, I64Val> for Val
impl<E: Env> TryFromVal<E, I64Val> for Val
type Error = ConversionError
fn try_from_val(_env: &E, val: &I64Val) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, MapObject> for Val
impl<E: Env> TryFromVal<E, MapObject> for Val
type Error = ConversionError
fn try_from_val(_env: &E, val: &MapObject) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, Object> for Val
impl<E: Env> TryFromVal<E, Object> for Val
type Error = ConversionError
fn try_from_val(_env: &E, val: &Object) -> Result<Self, Self::Error>
source§impl<E: Env, T> TryFromVal<E, Option<T>> for Valwhere
T: TryIntoVal<E, Val>,
impl<E: Env, T> TryFromVal<E, Option<T>> for Valwhere
T: TryIntoVal<E, Val>,
source§impl<E: Env> TryFromVal<E, StringObject> for Val
impl<E: Env> TryFromVal<E, StringObject> for Val
type Error = ConversionError
fn try_from_val(_env: &E, val: &StringObject) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, Symbol> for Val
impl<E: Env> TryFromVal<E, Symbol> for Val
type Error = ConversionError
fn try_from_val(_env: &E, val: &Symbol) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, SymbolObject> for Val
impl<E: Env> TryFromVal<E, SymbolObject> for Val
type Error = ConversionError
fn try_from_val(_env: &E, val: &SymbolObject) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, SymbolSmall> for Val
impl<E: Env> TryFromVal<E, SymbolSmall> for Val
type Error = ConversionError
fn try_from_val(_env: &E, val: &SymbolSmall) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, TimepointObject> for Val
impl<E: Env> TryFromVal<E, TimepointObject> for Val
type Error = ConversionError
fn try_from_val(_env: &E, val: &TimepointObject) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, TimepointSmall> for Val
impl<E: Env> TryFromVal<E, TimepointSmall> for Val
type Error = ConversionError
fn try_from_val(_env: &E, val: &TimepointSmall) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, TimepointVal> for Val
impl<E: Env> TryFromVal<E, TimepointVal> for Val
type Error = ConversionError
fn try_from_val(_env: &E, val: &TimepointVal) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, U128Object> for Val
impl<E: Env> TryFromVal<E, U128Object> for Val
type Error = ConversionError
fn try_from_val(_env: &E, val: &U128Object) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, U128Small> for Val
impl<E: Env> TryFromVal<E, U128Small> for Val
type Error = ConversionError
fn try_from_val(_env: &E, val: &U128Small) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, U128Val> for Val
impl<E: Env> TryFromVal<E, U128Val> for Val
type Error = ConversionError
fn try_from_val(_env: &E, val: &U128Val) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, U256Object> for Val
impl<E: Env> TryFromVal<E, U256Object> for Val
type Error = ConversionError
fn try_from_val(_env: &E, val: &U256Object) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, U256Small> for Val
impl<E: Env> TryFromVal<E, U256Small> for Val
type Error = ConversionError
fn try_from_val(_env: &E, val: &U256Small) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, U256Val> for Val
impl<E: Env> TryFromVal<E, U256Val> for Val
type Error = ConversionError
fn try_from_val(_env: &E, val: &U256Val) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, U32Val> for Val
impl<E: Env> TryFromVal<E, U32Val> for Val
type Error = ConversionError
fn try_from_val(_env: &E, val: &U32Val) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, U64Object> for Val
impl<E: Env> TryFromVal<E, U64Object> for Val
type Error = ConversionError
fn try_from_val(_env: &E, val: &U64Object) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, U64Small> for Val
impl<E: Env> TryFromVal<E, U64Small> for Val
type Error = ConversionError
fn try_from_val(_env: &E, val: &U64Small) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, U64Val> for Val
impl<E: Env> TryFromVal<E, U64Val> for Val
type Error = ConversionError
fn try_from_val(_env: &E, val: &U64Val) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, Val> for ()
impl<E: Env> TryFromVal<E, Val> for ()
type Error = ConversionError
fn try_from_val(_env: &E, val: &Val) -> Result<Self, Self::Error>
source§impl<E: Env, T0> TryFromVal<E, Val> for (T0,)where
T0: TryFromVal<E, Val>,
impl<E: Env, T0> TryFromVal<E, Val> for (T0,)where
T0: TryFromVal<E, Val>,
source§impl<E: Env, T0, T1, T2> TryFromVal<E, Val> for (T0, T1, T2)
impl<E: Env, T0, T1, T2> TryFromVal<E, Val> for (T0, T1, T2)
source§impl<E: Env, T0, T1, T2, T3> TryFromVal<E, Val> for (T0, T1, T2, T3)where
T0: TryFromVal<E, Val>,
T1: TryFromVal<E, Val>,
T2: TryFromVal<E, Val>,
T3: TryFromVal<E, Val>,
impl<E: Env, T0, T1, T2, T3> TryFromVal<E, Val> for (T0, T1, T2, T3)where
T0: TryFromVal<E, Val>,
T1: TryFromVal<E, Val>,
T2: TryFromVal<E, Val>,
T3: TryFromVal<E, Val>,
source§impl<E: Env, T0, T1, T2, T3, T4> TryFromVal<E, Val> for (T0, T1, T2, T3, T4)where
T0: TryFromVal<E, Val>,
T1: TryFromVal<E, Val>,
T2: TryFromVal<E, Val>,
T3: TryFromVal<E, Val>,
T4: TryFromVal<E, Val>,
impl<E: Env, T0, T1, T2, T3, T4> TryFromVal<E, Val> for (T0, T1, T2, T3, T4)where
T0: TryFromVal<E, Val>,
T1: TryFromVal<E, Val>,
T2: TryFromVal<E, Val>,
T3: TryFromVal<E, Val>,
T4: TryFromVal<E, Val>,
source§impl<E: Env, T0, T1, T2, T3, T4, T5> TryFromVal<E, Val> for (T0, T1, T2, T3, T4, T5)where
T0: TryFromVal<E, Val>,
T1: TryFromVal<E, Val>,
T2: TryFromVal<E, Val>,
T3: TryFromVal<E, Val>,
T4: TryFromVal<E, Val>,
T5: TryFromVal<E, Val>,
impl<E: Env, T0, T1, T2, T3, T4, T5> TryFromVal<E, Val> for (T0, T1, T2, T3, T4, T5)where
T0: TryFromVal<E, Val>,
T1: TryFromVal<E, Val>,
T2: TryFromVal<E, Val>,
T3: TryFromVal<E, Val>,
T4: TryFromVal<E, Val>,
T5: TryFromVal<E, Val>,
source§impl<E: Env, T0, T1, T2, T3, T4, T5, T6> TryFromVal<E, Val> for (T0, T1, T2, T3, T4, T5, T6)where
T0: TryFromVal<E, Val>,
T1: TryFromVal<E, Val>,
T2: TryFromVal<E, Val>,
T3: TryFromVal<E, Val>,
T4: TryFromVal<E, Val>,
T5: TryFromVal<E, Val>,
T6: TryFromVal<E, Val>,
impl<E: Env, T0, T1, T2, T3, T4, T5, T6> TryFromVal<E, Val> for (T0, T1, T2, T3, T4, T5, T6)where
T0: TryFromVal<E, Val>,
T1: TryFromVal<E, Val>,
T2: TryFromVal<E, Val>,
T3: TryFromVal<E, Val>,
T4: TryFromVal<E, Val>,
T5: TryFromVal<E, Val>,
T6: TryFromVal<E, Val>,
source§impl<E: Env, T0, T1, T2, T3, T4, T5, T6, T7> TryFromVal<E, Val> for (T0, T1, T2, T3, T4, T5, T6, T7)where
T0: TryFromVal<E, Val>,
T1: TryFromVal<E, Val>,
T2: TryFromVal<E, Val>,
T3: TryFromVal<E, Val>,
T4: TryFromVal<E, Val>,
T5: TryFromVal<E, Val>,
T6: TryFromVal<E, Val>,
T7: TryFromVal<E, Val>,
impl<E: Env, T0, T1, T2, T3, T4, T5, T6, T7> TryFromVal<E, Val> for (T0, T1, T2, T3, T4, T5, T6, T7)where
T0: TryFromVal<E, Val>,
T1: TryFromVal<E, Val>,
T2: TryFromVal<E, Val>,
T3: TryFromVal<E, Val>,
T4: TryFromVal<E, Val>,
T5: TryFromVal<E, Val>,
T6: TryFromVal<E, Val>,
T7: TryFromVal<E, Val>,
source§impl<E: Env, T0, T1, T2, T3, T4, T5, T6, T7, T8> TryFromVal<E, Val> for (T0, T1, T2, T3, T4, T5, T6, T7, T8)where
T0: TryFromVal<E, Val>,
T1: TryFromVal<E, Val>,
T2: TryFromVal<E, Val>,
T3: TryFromVal<E, Val>,
T4: TryFromVal<E, Val>,
T5: TryFromVal<E, Val>,
T6: TryFromVal<E, Val>,
T7: TryFromVal<E, Val>,
T8: TryFromVal<E, Val>,
impl<E: Env, T0, T1, T2, T3, T4, T5, T6, T7, T8> TryFromVal<E, Val> for (T0, T1, T2, T3, T4, T5, T6, T7, T8)where
T0: TryFromVal<E, Val>,
T1: TryFromVal<E, Val>,
T2: TryFromVal<E, Val>,
T3: TryFromVal<E, Val>,
T4: TryFromVal<E, Val>,
T5: TryFromVal<E, Val>,
T6: TryFromVal<E, Val>,
T7: TryFromVal<E, Val>,
T8: TryFromVal<E, Val>,
source§impl<E: Env, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9> TryFromVal<E, Val> for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9)where
T0: TryFromVal<E, Val>,
T1: TryFromVal<E, Val>,
T2: TryFromVal<E, Val>,
T3: TryFromVal<E, Val>,
T4: TryFromVal<E, Val>,
T5: TryFromVal<E, Val>,
T6: TryFromVal<E, Val>,
T7: TryFromVal<E, Val>,
T8: TryFromVal<E, Val>,
T9: TryFromVal<E, Val>,
impl<E: Env, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9> TryFromVal<E, Val> for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9)where
T0: TryFromVal<E, Val>,
T1: TryFromVal<E, Val>,
T2: TryFromVal<E, Val>,
T3: TryFromVal<E, Val>,
T4: TryFromVal<E, Val>,
T5: TryFromVal<E, Val>,
T6: TryFromVal<E, Val>,
T7: TryFromVal<E, Val>,
T8: TryFromVal<E, Val>,
T9: TryFromVal<E, Val>,
source§impl<E: Env, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> TryFromVal<E, Val> for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10)where
T0: TryFromVal<E, Val>,
T1: TryFromVal<E, Val>,
T2: TryFromVal<E, Val>,
T3: TryFromVal<E, Val>,
T4: TryFromVal<E, Val>,
T5: TryFromVal<E, Val>,
T6: TryFromVal<E, Val>,
T7: TryFromVal<E, Val>,
T8: TryFromVal<E, Val>,
T9: TryFromVal<E, Val>,
T10: TryFromVal<E, Val>,
impl<E: Env, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> TryFromVal<E, Val> for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10)where
T0: TryFromVal<E, Val>,
T1: TryFromVal<E, Val>,
T2: TryFromVal<E, Val>,
T3: TryFromVal<E, Val>,
T4: TryFromVal<E, Val>,
T5: TryFromVal<E, Val>,
T6: TryFromVal<E, Val>,
T7: TryFromVal<E, Val>,
T8: TryFromVal<E, Val>,
T9: TryFromVal<E, Val>,
T10: TryFromVal<E, Val>,
source§impl<E: Env, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> TryFromVal<E, Val> for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)where
T0: TryFromVal<E, Val>,
T1: TryFromVal<E, Val>,
T2: TryFromVal<E, Val>,
T3: TryFromVal<E, Val>,
T4: TryFromVal<E, Val>,
T5: TryFromVal<E, Val>,
T6: TryFromVal<E, Val>,
T7: TryFromVal<E, Val>,
T8: TryFromVal<E, Val>,
T9: TryFromVal<E, Val>,
T10: TryFromVal<E, Val>,
T11: TryFromVal<E, Val>,
impl<E: Env, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> TryFromVal<E, Val> for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)where
T0: TryFromVal<E, Val>,
T1: TryFromVal<E, Val>,
T2: TryFromVal<E, Val>,
T3: TryFromVal<E, Val>,
T4: TryFromVal<E, Val>,
T5: TryFromVal<E, Val>,
T6: TryFromVal<E, Val>,
T7: TryFromVal<E, Val>,
T8: TryFromVal<E, Val>,
T9: TryFromVal<E, Val>,
T10: TryFromVal<E, Val>,
T11: TryFromVal<E, Val>,
source§impl<E: Env, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12> TryFromVal<E, Val> for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12)where
T0: TryFromVal<E, Val>,
T1: TryFromVal<E, Val>,
T2: TryFromVal<E, Val>,
T3: TryFromVal<E, Val>,
T4: TryFromVal<E, Val>,
T5: TryFromVal<E, Val>,
T6: TryFromVal<E, Val>,
T7: TryFromVal<E, Val>,
T8: TryFromVal<E, Val>,
T9: TryFromVal<E, Val>,
T10: TryFromVal<E, Val>,
T11: TryFromVal<E, Val>,
T12: TryFromVal<E, Val>,
impl<E: Env, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12> TryFromVal<E, Val> for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12)where
T0: TryFromVal<E, Val>,
T1: TryFromVal<E, Val>,
T2: TryFromVal<E, Val>,
T3: TryFromVal<E, Val>,
T4: TryFromVal<E, Val>,
T5: TryFromVal<E, Val>,
T6: TryFromVal<E, Val>,
T7: TryFromVal<E, Val>,
T8: TryFromVal<E, Val>,
T9: TryFromVal<E, Val>,
T10: TryFromVal<E, Val>,
T11: TryFromVal<E, Val>,
T12: TryFromVal<E, Val>,
source§impl<E: Env> TryFromVal<E, Val> for AddressObject
impl<E: Env> TryFromVal<E, Val> for AddressObject
type Error = ConversionError
fn try_from_val(_env: &E, val: &Val) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, Val> for Bool
impl<E: Env> TryFromVal<E, Val> for Bool
type Error = ConversionError
fn try_from_val(_env: &E, val: &Val) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, Val> for BytesObject
impl<E: Env> TryFromVal<E, Val> for BytesObject
type Error = ConversionError
fn try_from_val(_env: &E, val: &Val) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, Val> for DurationObject
impl<E: Env> TryFromVal<E, Val> for DurationObject
type Error = ConversionError
fn try_from_val(_env: &E, val: &Val) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, Val> for DurationSmall
impl<E: Env> TryFromVal<E, Val> for DurationSmall
type Error = ConversionError
fn try_from_val(_env: &E, val: &Val) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, Val> for DurationVal
impl<E: Env> TryFromVal<E, Val> for DurationVal
type Error = ConversionError
fn try_from_val(_env: &E, val: &Val) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, Val> for Error
impl<E: Env> TryFromVal<E, Val> for Error
type Error = ConversionError
fn try_from_val(_env: &E, val: &Val) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, Val> for I128Object
impl<E: Env> TryFromVal<E, Val> for I128Object
type Error = ConversionError
fn try_from_val(_env: &E, val: &Val) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, Val> for I128Small
impl<E: Env> TryFromVal<E, Val> for I128Small
type Error = ConversionError
fn try_from_val(_env: &E, val: &Val) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, Val> for I128Val
impl<E: Env> TryFromVal<E, Val> for I128Val
type Error = ConversionError
fn try_from_val(_env: &E, val: &Val) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, Val> for I256Object
impl<E: Env> TryFromVal<E, Val> for I256Object
type Error = ConversionError
fn try_from_val(_env: &E, val: &Val) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, Val> for I256Small
impl<E: Env> TryFromVal<E, Val> for I256Small
type Error = ConversionError
fn try_from_val(_env: &E, val: &Val) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, Val> for I256Val
impl<E: Env> TryFromVal<E, Val> for I256Val
type Error = ConversionError
fn try_from_val(_env: &E, val: &Val) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, Val> for I32Val
impl<E: Env> TryFromVal<E, Val> for I32Val
type Error = ConversionError
fn try_from_val(_env: &E, val: &Val) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, Val> for I64Object
impl<E: Env> TryFromVal<E, Val> for I64Object
type Error = ConversionError
fn try_from_val(_env: &E, val: &Val) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, Val> for I64Small
impl<E: Env> TryFromVal<E, Val> for I64Small
type Error = ConversionError
fn try_from_val(_env: &E, val: &Val) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, Val> for I64Val
impl<E: Env> TryFromVal<E, Val> for I64Val
type Error = ConversionError
fn try_from_val(_env: &E, val: &Val) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, Val> for MapObject
impl<E: Env> TryFromVal<E, Val> for MapObject
type Error = ConversionError
fn try_from_val(_env: &E, val: &Val) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, Val> for Object
impl<E: Env> TryFromVal<E, Val> for Object
type Error = ConversionError
fn try_from_val(_env: &E, val: &Val) -> Result<Self, Self::Error>
source§impl<E: Env, T> TryFromVal<E, Val> for Option<T>where
T: TryFromVal<E, Val>,
impl<E: Env, T> TryFromVal<E, Val> for Option<T>where
T: TryFromVal<E, Val>,
source§impl<E: Env> TryFromVal<E, Val> for ScVal
impl<E: Env> TryFromVal<E, Val> for ScVal
type Error = ConversionError
fn try_from_val(env: &E, val: &Val) -> Result<Self, ConversionError>
source§impl<E: Env> TryFromVal<E, Val> for StringObject
impl<E: Env> TryFromVal<E, Val> for StringObject
type Error = ConversionError
fn try_from_val(_env: &E, val: &Val) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, Val> for Symbol
impl<E: Env> TryFromVal<E, Val> for Symbol
type Error = ConversionError
fn try_from_val(_env: &E, val: &Val) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, Val> for SymbolObject
impl<E: Env> TryFromVal<E, Val> for SymbolObject
type Error = ConversionError
fn try_from_val(_env: &E, val: &Val) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, Val> for SymbolSmall
impl<E: Env> TryFromVal<E, Val> for SymbolSmall
type Error = ConversionError
fn try_from_val(_env: &E, val: &Val) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, Val> for TimepointObject
impl<E: Env> TryFromVal<E, Val> for TimepointObject
type Error = ConversionError
fn try_from_val(_env: &E, val: &Val) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, Val> for TimepointSmall
impl<E: Env> TryFromVal<E, Val> for TimepointSmall
type Error = ConversionError
fn try_from_val(_env: &E, val: &Val) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, Val> for TimepointVal
impl<E: Env> TryFromVal<E, Val> for TimepointVal
type Error = ConversionError
fn try_from_val(_env: &E, val: &Val) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, Val> for U128Object
impl<E: Env> TryFromVal<E, Val> for U128Object
type Error = ConversionError
fn try_from_val(_env: &E, val: &Val) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, Val> for U128Small
impl<E: Env> TryFromVal<E, Val> for U128Small
type Error = ConversionError
fn try_from_val(_env: &E, val: &Val) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, Val> for U128Val
impl<E: Env> TryFromVal<E, Val> for U128Val
type Error = ConversionError
fn try_from_val(_env: &E, val: &Val) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, Val> for U256Object
impl<E: Env> TryFromVal<E, Val> for U256Object
type Error = ConversionError
fn try_from_val(_env: &E, val: &Val) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, Val> for U256Small
impl<E: Env> TryFromVal<E, Val> for U256Small
type Error = ConversionError
fn try_from_val(_env: &E, val: &Val) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, Val> for U256Val
impl<E: Env> TryFromVal<E, Val> for U256Val
type Error = ConversionError
fn try_from_val(_env: &E, val: &Val) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, Val> for U32Val
impl<E: Env> TryFromVal<E, Val> for U32Val
type Error = ConversionError
fn try_from_val(_env: &E, val: &Val) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, Val> for U64Object
impl<E: Env> TryFromVal<E, Val> for U64Object
type Error = ConversionError
fn try_from_val(_env: &E, val: &Val) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, Val> for U64Small
impl<E: Env> TryFromVal<E, Val> for U64Small
type Error = ConversionError
fn try_from_val(_env: &E, val: &Val) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, Val> for U64Val
impl<E: Env> TryFromVal<E, Val> for U64Val
type Error = ConversionError
fn try_from_val(_env: &E, val: &Val) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, Val> for Val
impl<E: Env> TryFromVal<E, Val> for Val
type Error = ConversionError
fn try_from_val(_env: &E, val: &Val) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, Val> for VecObject
impl<E: Env> TryFromVal<E, Val> for VecObject
type Error = ConversionError
fn try_from_val(_env: &E, val: &Val) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, Val> for Void
impl<E: Env> TryFromVal<E, Val> for Void
type Error = ConversionError
fn try_from_val(_env: &E, val: &Val) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, Val> for bool
impl<E: Env> TryFromVal<E, Val> for bool
type Error = ConversionError
fn try_from_val(_env: &E, val: &Val) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, Val> for i32
impl<E: Env> TryFromVal<E, Val> for i32
type Error = ConversionError
fn try_from_val(_env: &E, val: &Val) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, Val> for u32
impl<E: Env> TryFromVal<E, Val> for u32
type Error = ConversionError
fn try_from_val(_env: &E, val: &Val) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, VecObject> for Val
impl<E: Env> TryFromVal<E, VecObject> for Val
type Error = ConversionError
fn try_from_val(_env: &E, val: &VecObject) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, Void> for Val
impl<E: Env> TryFromVal<E, Void> for Val
type Error = ConversionError
fn try_from_val(_env: &E, val: &Void) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, bool> for Val
impl<E: Env> TryFromVal<E, bool> for Val
type Error = ConversionError
fn try_from_val(_env: &E, val: &bool) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, i32> for Val
impl<E: Env> TryFromVal<E, i32> for Val
type Error = ConversionError
fn try_from_val(_env: &E, val: &i32) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, u32> for Val
impl<E: Env> TryFromVal<E, u32> for Val
type Error = ConversionError
fn try_from_val(_env: &E, val: &u32) -> Result<Self, Self::Error>
source§impl WasmiMarshal for Val
impl WasmiMarshal for Val
fn try_marshal_from_value(v: Value) -> Option<Self>
fn marshal_from_self(self) -> Value
impl Copy for Val
Auto Trait Implementations§
impl RefUnwindSafe for Val
impl Send for Val
impl Sync for Val
impl Unpin for Val
impl UnwindSafe for Val
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
source§impl<T, U, V, W, E, C> Compare<(T, U, V, W)> for C
impl<T, U, V, W, E, C> Compare<(T, U, V, W)> for C
type Error = E
fn compare( &self, a: &(T, U, V, W), b: &(T, U, V, W) ) -> Result<Ordering, <C as Compare<(T, U, V, W)>>::Error>
source§impl<T, U, V, W, X, E, C> Compare<(T, U, V, W, X)> for C
impl<T, U, V, W, X, E, C> Compare<(T, U, V, W, X)> for C
type Error = E
fn compare( &self, a: &(T, U, V, W, X), b: &(T, U, V, W, X) ) -> Result<Ordering, <C as Compare<(T, U, V, W, X)>>::Error>
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait>
(where Trait: Downcast
) to Box<dyn Any>
. Box<dyn Any>
can
then be further downcast
into Box<ConcreteType>
where ConcreteType
implements Trait
.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait>
(where Trait: Downcast
) to Rc<Any>
. Rc<Any>
can then be
further downcast
into Rc<ConcreteType>
where ConcreteType
implements Trait
.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &Any
’s vtable from &Trait
’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &mut Any
’s vtable from &mut Trait
’s.