Struct soroban_env_common::RawVal
source · #[repr(transparent)]pub struct RawVal(_);
Implementations§
source§impl RawVal
impl RawVal
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 fn is<T: RawValConvertible>(self) -> bool
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 RawVal
impl RawVal
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<RawVal> for AddressObject
impl AsMut<RawVal> for AddressObject
source§impl AsMut<RawVal> for BytesObject
impl AsMut<RawVal> for BytesObject
source§impl AsMut<RawVal> for ContractExecutableObject
impl AsMut<RawVal> for ContractExecutableObject
source§impl AsMut<RawVal> for DurationObject
impl AsMut<RawVal> for DurationObject
source§impl AsMut<RawVal> for DurationSmall
impl AsMut<RawVal> for DurationSmall
source§impl AsMut<RawVal> for DurationVal
impl AsMut<RawVal> for DurationVal
source§impl AsMut<RawVal> for I128Object
impl AsMut<RawVal> for I128Object
source§impl AsMut<RawVal> for I256Object
impl AsMut<RawVal> for I256Object
source§impl AsMut<RawVal> for LedgerKeyNonceObject
impl AsMut<RawVal> for LedgerKeyNonceObject
source§impl AsMut<RawVal> for StringObject
impl AsMut<RawVal> for StringObject
source§impl AsMut<RawVal> for SymbolObject
impl AsMut<RawVal> for SymbolObject
source§impl AsMut<RawVal> for SymbolSmall
impl AsMut<RawVal> for SymbolSmall
source§impl AsMut<RawVal> for TimepointObject
impl AsMut<RawVal> for TimepointObject
source§impl AsMut<RawVal> for TimepointSmall
impl AsMut<RawVal> for TimepointSmall
source§impl AsMut<RawVal> for TimepointVal
impl AsMut<RawVal> for TimepointVal
source§impl AsMut<RawVal> for U128Object
impl AsMut<RawVal> for U128Object
source§impl AsMut<RawVal> for U256Object
impl AsMut<RawVal> for U256Object
source§impl AsRef<RawVal> for AddressObject
impl AsRef<RawVal> for AddressObject
source§impl AsRef<RawVal> for BytesObject
impl AsRef<RawVal> for BytesObject
source§impl AsRef<RawVal> for ContractExecutableObject
impl AsRef<RawVal> for ContractExecutableObject
source§impl AsRef<RawVal> for DurationObject
impl AsRef<RawVal> for DurationObject
source§impl AsRef<RawVal> for DurationSmall
impl AsRef<RawVal> for DurationSmall
source§impl AsRef<RawVal> for DurationVal
impl AsRef<RawVal> for DurationVal
source§impl AsRef<RawVal> for I128Object
impl AsRef<RawVal> for I128Object
source§impl AsRef<RawVal> for I256Object
impl AsRef<RawVal> for I256Object
source§impl AsRef<RawVal> for LedgerKeyNonceObject
impl AsRef<RawVal> for LedgerKeyNonceObject
source§impl AsRef<RawVal> for StringObject
impl AsRef<RawVal> for StringObject
source§impl AsRef<RawVal> for SymbolObject
impl AsRef<RawVal> for SymbolObject
source§impl AsRef<RawVal> for SymbolSmall
impl AsRef<RawVal> for SymbolSmall
source§impl AsRef<RawVal> for TimepointObject
impl AsRef<RawVal> for TimepointObject
source§impl AsRef<RawVal> for TimepointSmall
impl AsRef<RawVal> for TimepointSmall
source§impl AsRef<RawVal> for TimepointVal
impl AsRef<RawVal> for TimepointVal
source§impl AsRef<RawVal> for U128Object
impl AsRef<RawVal> for U128Object
source§impl AsRef<RawVal> for U256Object
impl AsRef<RawVal> for U256Object
source§impl From<&AddressObject> for RawVal
impl From<&AddressObject> for RawVal
source§fn from(b: &AddressObject) -> Self
fn from(b: &AddressObject) -> Self
Converts to this type from the input type.
source§impl From<&BytesObject> for RawVal
impl From<&BytesObject> for RawVal
source§fn from(b: &BytesObject) -> Self
fn from(b: &BytesObject) -> Self
Converts to this type from the input type.
source§impl From<&ContractExecutableObject> for RawVal
impl From<&ContractExecutableObject> for RawVal
source§fn from(b: &ContractExecutableObject) -> Self
fn from(b: &ContractExecutableObject) -> Self
Converts to this type from the input type.
source§impl From<&DurationObject> for RawVal
impl From<&DurationObject> for RawVal
source§fn from(b: &DurationObject) -> Self
fn from(b: &DurationObject) -> Self
Converts to this type from the input type.
source§impl From<&DurationSmall> for RawVal
impl From<&DurationSmall> for RawVal
source§fn from(b: &DurationSmall) -> Self
fn from(b: &DurationSmall) -> Self
Converts to this type from the input type.
source§impl From<&DurationVal> for RawVal
impl From<&DurationVal> for RawVal
source§fn from(b: &DurationVal) -> Self
fn from(b: &DurationVal) -> Self
Converts to this type from the input type.
source§impl From<&I128Object> for RawVal
impl From<&I128Object> for RawVal
source§fn from(b: &I128Object) -> Self
fn from(b: &I128Object) -> Self
Converts to this type from the input type.
source§impl From<&I256Object> for RawVal
impl From<&I256Object> for RawVal
source§fn from(b: &I256Object) -> Self
fn from(b: &I256Object) -> Self
Converts to this type from the input type.
source§impl From<&LedgerKeyNonceObject> for RawVal
impl From<&LedgerKeyNonceObject> for RawVal
source§fn from(b: &LedgerKeyNonceObject) -> Self
fn from(b: &LedgerKeyNonceObject) -> Self
Converts to this type from the input type.
source§impl From<&StringObject> for RawVal
impl From<&StringObject> for RawVal
source§fn from(b: &StringObject) -> Self
fn from(b: &StringObject) -> Self
Converts to this type from the input type.
source§impl From<&SymbolObject> for RawVal
impl From<&SymbolObject> for RawVal
source§fn from(b: &SymbolObject) -> Self
fn from(b: &SymbolObject) -> Self
Converts to this type from the input type.
source§impl From<&SymbolSmall> for RawVal
impl From<&SymbolSmall> for RawVal
source§fn from(b: &SymbolSmall) -> Self
fn from(b: &SymbolSmall) -> Self
Converts to this type from the input type.
source§impl From<&TimepointObject> for RawVal
impl From<&TimepointObject> for RawVal
source§fn from(b: &TimepointObject) -> Self
fn from(b: &TimepointObject) -> Self
Converts to this type from the input type.
source§impl From<&TimepointSmall> for RawVal
impl From<&TimepointSmall> for RawVal
source§fn from(b: &TimepointSmall) -> Self
fn from(b: &TimepointSmall) -> Self
Converts to this type from the input type.
source§impl From<&TimepointVal> for RawVal
impl From<&TimepointVal> for RawVal
source§fn from(b: &TimepointVal) -> Self
fn from(b: &TimepointVal) -> Self
Converts to this type from the input type.
source§impl From<&U128Object> for RawVal
impl From<&U128Object> for RawVal
source§fn from(b: &U128Object) -> Self
fn from(b: &U128Object) -> Self
Converts to this type from the input type.
source§impl From<&U256Object> for RawVal
impl From<&U256Object> for RawVal
source§fn from(b: &U256Object) -> Self
fn from(b: &U256Object) -> Self
Converts to this type from the input type.
source§impl From<AddressObject> for RawVal
impl From<AddressObject> for RawVal
source§fn from(b: AddressObject) -> Self
fn from(b: AddressObject) -> Self
Converts to this type from the input type.
source§impl From<BytesObject> for RawVal
impl From<BytesObject> for RawVal
source§fn from(b: BytesObject) -> Self
fn from(b: BytesObject) -> Self
Converts to this type from the input type.
source§impl From<ContractExecutableObject> for RawVal
impl From<ContractExecutableObject> for RawVal
source§fn from(b: ContractExecutableObject) -> Self
fn from(b: ContractExecutableObject) -> Self
Converts to this type from the input type.
source§impl From<DurationObject> for RawVal
impl From<DurationObject> for RawVal
source§fn from(b: DurationObject) -> Self
fn from(b: DurationObject) -> Self
Converts to this type from the input type.
source§impl From<DurationSmall> for RawVal
impl From<DurationSmall> for RawVal
source§fn from(b: DurationSmall) -> Self
fn from(b: DurationSmall) -> Self
Converts to this type from the input type.
source§impl From<DurationVal> for RawVal
impl From<DurationVal> for RawVal
source§fn from(b: DurationVal) -> Self
fn from(b: DurationVal) -> Self
Converts to this type from the input type.
source§impl From<I128Object> for RawVal
impl From<I128Object> for RawVal
source§fn from(b: I128Object) -> Self
fn from(b: I128Object) -> Self
Converts to this type from the input type.
source§impl From<I256Object> for RawVal
impl From<I256Object> for RawVal
source§fn from(b: I256Object) -> Self
fn from(b: I256Object) -> Self
Converts to this type from the input type.
source§impl From<LedgerKeyNonceObject> for RawVal
impl From<LedgerKeyNonceObject> for RawVal
source§fn from(b: LedgerKeyNonceObject) -> Self
fn from(b: LedgerKeyNonceObject) -> Self
Converts to this type from the input type.
source§impl From<StringObject> for RawVal
impl From<StringObject> for RawVal
source§fn from(b: StringObject) -> Self
fn from(b: StringObject) -> Self
Converts to this type from the input type.
source§impl From<SymbolObject> for RawVal
impl From<SymbolObject> for RawVal
source§fn from(b: SymbolObject) -> Self
fn from(b: SymbolObject) -> Self
Converts to this type from the input type.
source§impl From<SymbolSmall> for RawVal
impl From<SymbolSmall> for RawVal
source§fn from(b: SymbolSmall) -> Self
fn from(b: SymbolSmall) -> Self
Converts to this type from the input type.
source§impl From<TimepointObject> for RawVal
impl From<TimepointObject> for RawVal
source§fn from(b: TimepointObject) -> Self
fn from(b: TimepointObject) -> Self
Converts to this type from the input type.
source§impl From<TimepointSmall> for RawVal
impl From<TimepointSmall> for RawVal
source§fn from(b: TimepointSmall) -> Self
fn from(b: TimepointSmall) -> Self
Converts to this type from the input type.
source§impl From<TimepointVal> for RawVal
impl From<TimepointVal> for RawVal
source§fn from(b: TimepointVal) -> Self
fn from(b: TimepointVal) -> Self
Converts to this type from the input type.
source§impl From<U128Object> for RawVal
impl From<U128Object> for RawVal
source§fn from(b: U128Object) -> Self
fn from(b: U128Object) -> Self
Converts to this type from the input type.
source§impl From<U256Object> for RawVal
impl From<U256Object> for RawVal
source§fn from(b: U256Object) -> Self
fn from(b: U256Object) -> Self
Converts to this type from the input type.
source§impl TryFrom<&RawVal> for AddressObject
impl TryFrom<&RawVal> for AddressObject
source§impl TryFrom<&RawVal> for BytesObject
impl TryFrom<&RawVal> for BytesObject
source§impl TryFrom<&RawVal> for ContractExecutableObject
impl TryFrom<&RawVal> for ContractExecutableObject
source§impl TryFrom<&RawVal> for DurationObject
impl TryFrom<&RawVal> for DurationObject
source§impl TryFrom<&RawVal> for DurationSmall
impl TryFrom<&RawVal> for DurationSmall
source§impl TryFrom<&RawVal> for DurationVal
impl TryFrom<&RawVal> for DurationVal
source§impl TryFrom<&RawVal> for I128Object
impl TryFrom<&RawVal> for I128Object
source§impl TryFrom<&RawVal> for I256Object
impl TryFrom<&RawVal> for I256Object
source§impl TryFrom<&RawVal> for LedgerKeyNonceObject
impl TryFrom<&RawVal> for LedgerKeyNonceObject
source§impl TryFrom<&RawVal> for StringObject
impl TryFrom<&RawVal> for StringObject
source§impl TryFrom<&RawVal> for SymbolObject
impl TryFrom<&RawVal> for SymbolObject
source§impl TryFrom<&RawVal> for SymbolSmall
impl TryFrom<&RawVal> for SymbolSmall
source§impl TryFrom<&RawVal> for TimepointObject
impl TryFrom<&RawVal> for TimepointObject
source§impl TryFrom<&RawVal> for TimepointSmall
impl TryFrom<&RawVal> for TimepointSmall
source§impl TryFrom<&RawVal> for TimepointVal
impl TryFrom<&RawVal> for TimepointVal
source§impl TryFrom<&RawVal> for U128Object
impl TryFrom<&RawVal> for U128Object
source§impl TryFrom<&RawVal> for U256Object
impl TryFrom<&RawVal> for U256Object
source§impl TryFrom<RawVal> for AddressObject
impl TryFrom<RawVal> for AddressObject
source§impl TryFrom<RawVal> for BytesObject
impl TryFrom<RawVal> for BytesObject
source§impl TryFrom<RawVal> for ContractExecutableObject
impl TryFrom<RawVal> for ContractExecutableObject
source§impl TryFrom<RawVal> for DurationObject
impl TryFrom<RawVal> for DurationObject
source§impl TryFrom<RawVal> for DurationSmall
impl TryFrom<RawVal> for DurationSmall
source§impl TryFrom<RawVal> for DurationVal
impl TryFrom<RawVal> for DurationVal
source§impl TryFrom<RawVal> for I128Object
impl TryFrom<RawVal> for I128Object
source§impl TryFrom<RawVal> for I256Object
impl TryFrom<RawVal> for I256Object
source§impl TryFrom<RawVal> for LedgerKeyNonceObject
impl TryFrom<RawVal> for LedgerKeyNonceObject
source§impl TryFrom<RawVal> for StringObject
impl TryFrom<RawVal> for StringObject
source§impl TryFrom<RawVal> for SymbolObject
impl TryFrom<RawVal> for SymbolObject
source§impl TryFrom<RawVal> for SymbolSmall
impl TryFrom<RawVal> for SymbolSmall
source§impl TryFrom<RawVal> for TimepointObject
impl TryFrom<RawVal> for TimepointObject
source§impl TryFrom<RawVal> for TimepointSmall
impl TryFrom<RawVal> for TimepointSmall
source§impl TryFrom<RawVal> for TimepointVal
impl TryFrom<RawVal> for TimepointVal
source§impl TryFrom<RawVal> for U128Object
impl TryFrom<RawVal> for U128Object
source§impl TryFrom<RawVal> for U256Object
impl TryFrom<RawVal> for U256Object
source§impl<E: Env> TryFromVal<E, ()> for RawVal
impl<E: Env> TryFromVal<E, ()> for RawVal
type Error = ConversionError
fn try_from_val(_env: &E, val: &()) -> Result<Self, Self::Error>
source§impl<E: Env, T0> TryFromVal<E, (T0,)> for RawValwhere
T0: TryIntoVal<E, RawVal>,
impl<E: Env, T0> TryFromVal<E, (T0,)> for RawValwhere T0: TryIntoVal<E, RawVal>,
type Error = ConversionError
fn try_from_val(env: &E, v: &(T0,)) -> Result<Self, Self::Error>
source§impl<E: Env, T0, T1> TryFromVal<E, (T0, T1)> for RawValwhere
T0: TryIntoVal<E, RawVal>,
T1: TryIntoVal<E, RawVal>,
impl<E: Env, T0, T1> TryFromVal<E, (T0, T1)> for RawValwhere T0: TryIntoVal<E, RawVal>, T1: TryIntoVal<E, RawVal>,
type Error = ConversionError
fn try_from_val(env: &E, v: &(T0, T1)) -> Result<Self, Self::Error>
source§impl<E: Env, T0, T1, T2> TryFromVal<E, (T0, T1, T2)> for RawValwhere
T0: TryIntoVal<E, RawVal>,
T1: TryIntoVal<E, RawVal>,
T2: TryIntoVal<E, RawVal>,
impl<E: Env, T0, T1, T2> TryFromVal<E, (T0, T1, T2)> for RawValwhere T0: TryIntoVal<E, RawVal>, T1: TryIntoVal<E, RawVal>, T2: TryIntoVal<E, RawVal>,
type Error = ConversionError
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 RawValwhere
T0: TryIntoVal<E, RawVal>,
T1: TryIntoVal<E, RawVal>,
T2: TryIntoVal<E, RawVal>,
T3: TryIntoVal<E, RawVal>,
impl<E: Env, T0, T1, T2, T3> TryFromVal<E, (T0, T1, T2, T3)> for RawValwhere T0: TryIntoVal<E, RawVal>, T1: TryIntoVal<E, RawVal>, T2: TryIntoVal<E, RawVal>, T3: TryIntoVal<E, RawVal>,
type Error = ConversionError
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 RawValwhere
T0: TryIntoVal<E, RawVal>,
T1: TryIntoVal<E, RawVal>,
T2: TryIntoVal<E, RawVal>,
T3: TryIntoVal<E, RawVal>,
T4: TryIntoVal<E, RawVal>,
impl<E: Env, T0, T1, T2, T3, T4> TryFromVal<E, (T0, T1, T2, T3, T4)> for RawValwhere T0: TryIntoVal<E, RawVal>, T1: TryIntoVal<E, RawVal>, T2: TryIntoVal<E, RawVal>, T3: TryIntoVal<E, RawVal>, T4: TryIntoVal<E, RawVal>,
type Error = ConversionError
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 RawValwhere
T0: TryIntoVal<E, RawVal>,
T1: TryIntoVal<E, RawVal>,
T2: TryIntoVal<E, RawVal>,
T3: TryIntoVal<E, RawVal>,
T4: TryIntoVal<E, RawVal>,
T5: TryIntoVal<E, RawVal>,
impl<E: Env, T0, T1, T2, T3, T4, T5> TryFromVal<E, (T0, T1, T2, T3, T4, T5)> for RawValwhere T0: TryIntoVal<E, RawVal>, T1: TryIntoVal<E, RawVal>, T2: TryIntoVal<E, RawVal>, T3: TryIntoVal<E, RawVal>, T4: TryIntoVal<E, RawVal>, T5: TryIntoVal<E, RawVal>,
type Error = ConversionError
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 RawValwhere
T0: TryIntoVal<E, RawVal>,
T1: TryIntoVal<E, RawVal>,
T2: TryIntoVal<E, RawVal>,
T3: TryIntoVal<E, RawVal>,
T4: TryIntoVal<E, RawVal>,
T5: TryIntoVal<E, RawVal>,
T6: TryIntoVal<E, RawVal>,
impl<E: Env, T0, T1, T2, T3, T4, T5, T6> TryFromVal<E, (T0, T1, T2, T3, T4, T5, T6)> for RawValwhere T0: TryIntoVal<E, RawVal>, T1: TryIntoVal<E, RawVal>, T2: TryIntoVal<E, RawVal>, T3: TryIntoVal<E, RawVal>, T4: TryIntoVal<E, RawVal>, T5: TryIntoVal<E, RawVal>, T6: TryIntoVal<E, RawVal>,
type Error = ConversionError
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 RawValwhere
T0: TryIntoVal<E, RawVal>,
T1: TryIntoVal<E, RawVal>,
T2: TryIntoVal<E, RawVal>,
T3: TryIntoVal<E, RawVal>,
T4: TryIntoVal<E, RawVal>,
T5: TryIntoVal<E, RawVal>,
T6: TryIntoVal<E, RawVal>,
T7: TryIntoVal<E, RawVal>,
impl<E: Env, T0, T1, T2, T3, T4, T5, T6, T7> TryFromVal<E, (T0, T1, T2, T3, T4, T5, T6, T7)> for RawValwhere T0: TryIntoVal<E, RawVal>, T1: TryIntoVal<E, RawVal>, T2: TryIntoVal<E, RawVal>, T3: TryIntoVal<E, RawVal>, T4: TryIntoVal<E, RawVal>, T5: TryIntoVal<E, RawVal>, T6: TryIntoVal<E, RawVal>, T7: TryIntoVal<E, RawVal>,
type Error = ConversionError
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 RawValwhere
T0: TryIntoVal<E, RawVal>,
T1: TryIntoVal<E, RawVal>,
T2: TryIntoVal<E, RawVal>,
T3: TryIntoVal<E, RawVal>,
T4: TryIntoVal<E, RawVal>,
T5: TryIntoVal<E, RawVal>,
T6: TryIntoVal<E, RawVal>,
T7: TryIntoVal<E, RawVal>,
T8: TryIntoVal<E, RawVal>,
impl<E: Env, T0, T1, T2, T3, T4, T5, T6, T7, T8> TryFromVal<E, (T0, T1, T2, T3, T4, T5, T6, T7, T8)> for RawValwhere T0: TryIntoVal<E, RawVal>, T1: TryIntoVal<E, RawVal>, T2: TryIntoVal<E, RawVal>, T3: TryIntoVal<E, RawVal>, T4: TryIntoVal<E, RawVal>, T5: TryIntoVal<E, RawVal>, T6: TryIntoVal<E, RawVal>, T7: TryIntoVal<E, RawVal>, T8: TryIntoVal<E, RawVal>,
type Error = ConversionError
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 RawValwhere
T0: TryIntoVal<E, RawVal>,
T1: TryIntoVal<E, RawVal>,
T2: TryIntoVal<E, RawVal>,
T3: TryIntoVal<E, RawVal>,
T4: TryIntoVal<E, RawVal>,
T5: TryIntoVal<E, RawVal>,
T6: TryIntoVal<E, RawVal>,
T7: TryIntoVal<E, RawVal>,
T8: TryIntoVal<E, RawVal>,
T9: TryIntoVal<E, RawVal>,
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 RawValwhere T0: TryIntoVal<E, RawVal>, T1: TryIntoVal<E, RawVal>, T2: TryIntoVal<E, RawVal>, T3: TryIntoVal<E, RawVal>, T4: TryIntoVal<E, RawVal>, T5: TryIntoVal<E, RawVal>, T6: TryIntoVal<E, RawVal>, T7: TryIntoVal<E, RawVal>, T8: TryIntoVal<E, RawVal>, T9: TryIntoVal<E, RawVal>,
type Error = ConversionError
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 RawValwhere
T0: TryIntoVal<E, RawVal>,
T1: TryIntoVal<E, RawVal>,
T2: TryIntoVal<E, RawVal>,
T3: TryIntoVal<E, RawVal>,
T4: TryIntoVal<E, RawVal>,
T5: TryIntoVal<E, RawVal>,
T6: TryIntoVal<E, RawVal>,
T7: TryIntoVal<E, RawVal>,
T8: TryIntoVal<E, RawVal>,
T9: TryIntoVal<E, RawVal>,
T10: TryIntoVal<E, RawVal>,
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 RawValwhere T0: TryIntoVal<E, RawVal>, T1: TryIntoVal<E, RawVal>, T2: TryIntoVal<E, RawVal>, T3: TryIntoVal<E, RawVal>, T4: TryIntoVal<E, RawVal>, T5: TryIntoVal<E, RawVal>, T6: TryIntoVal<E, RawVal>, T7: TryIntoVal<E, RawVal>, T8: TryIntoVal<E, RawVal>, T9: TryIntoVal<E, RawVal>, T10: TryIntoVal<E, RawVal>,
type Error = ConversionError
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 RawValwhere
T0: TryIntoVal<E, RawVal>,
T1: TryIntoVal<E, RawVal>,
T2: TryIntoVal<E, RawVal>,
T3: TryIntoVal<E, RawVal>,
T4: TryIntoVal<E, RawVal>,
T5: TryIntoVal<E, RawVal>,
T6: TryIntoVal<E, RawVal>,
T7: TryIntoVal<E, RawVal>,
T8: TryIntoVal<E, RawVal>,
T9: TryIntoVal<E, RawVal>,
T10: TryIntoVal<E, RawVal>,
T11: TryIntoVal<E, RawVal>,
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 RawValwhere T0: TryIntoVal<E, RawVal>, T1: TryIntoVal<E, RawVal>, T2: TryIntoVal<E, RawVal>, T3: TryIntoVal<E, RawVal>, T4: TryIntoVal<E, RawVal>, T5: TryIntoVal<E, RawVal>, T6: TryIntoVal<E, RawVal>, T7: TryIntoVal<E, RawVal>, T8: TryIntoVal<E, RawVal>, T9: TryIntoVal<E, RawVal>, T10: TryIntoVal<E, RawVal>, T11: TryIntoVal<E, RawVal>,
type Error = ConversionError
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 RawValwhere
T0: TryIntoVal<E, RawVal>,
T1: TryIntoVal<E, RawVal>,
T2: TryIntoVal<E, RawVal>,
T3: TryIntoVal<E, RawVal>,
T4: TryIntoVal<E, RawVal>,
T5: TryIntoVal<E, RawVal>,
T6: TryIntoVal<E, RawVal>,
T7: TryIntoVal<E, RawVal>,
T8: TryIntoVal<E, RawVal>,
T9: TryIntoVal<E, RawVal>,
T10: TryIntoVal<E, RawVal>,
T11: TryIntoVal<E, RawVal>,
T12: TryIntoVal<E, RawVal>,
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 RawValwhere T0: TryIntoVal<E, RawVal>, T1: TryIntoVal<E, RawVal>, T2: TryIntoVal<E, RawVal>, T3: TryIntoVal<E, RawVal>, T4: TryIntoVal<E, RawVal>, T5: TryIntoVal<E, RawVal>, T6: TryIntoVal<E, RawVal>, T7: TryIntoVal<E, RawVal>, T8: TryIntoVal<E, RawVal>, T9: TryIntoVal<E, RawVal>, T10: TryIntoVal<E, RawVal>, T11: TryIntoVal<E, RawVal>, T12: TryIntoVal<E, RawVal>,
type Error = ConversionError
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 RawVal
impl<E: Env> TryFromVal<E, AddressObject> for RawVal
type Error = ConversionError
fn try_from_val(_env: &E, val: &AddressObject) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, Bool> for RawVal
impl<E: Env> TryFromVal<E, Bool> for RawVal
type Error = ConversionError
fn try_from_val(_env: &E, val: &Bool) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, BytesObject> for RawVal
impl<E: Env> TryFromVal<E, BytesObject> for RawVal
type Error = ConversionError
fn try_from_val(_env: &E, val: &BytesObject) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, ContractExecutableObject> for RawVal
impl<E: Env> TryFromVal<E, ContractExecutableObject> for RawVal
type Error = ConversionError
fn try_from_val( _env: &E, val: &ContractExecutableObject ) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, DurationObject> for RawVal
impl<E: Env> TryFromVal<E, DurationObject> for RawVal
type Error = ConversionError
fn try_from_val(_env: &E, val: &DurationObject) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, DurationSmall> for RawVal
impl<E: Env> TryFromVal<E, DurationSmall> for RawVal
type Error = ConversionError
fn try_from_val(_env: &E, val: &DurationSmall) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, DurationVal> for RawVal
impl<E: Env> TryFromVal<E, DurationVal> for RawVal
type Error = ConversionError
fn try_from_val(_env: &E, val: &DurationVal) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, I128Object> for RawVal
impl<E: Env> TryFromVal<E, I128Object> for RawVal
type Error = ConversionError
fn try_from_val(_env: &E, val: &I128Object) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, I128Small> for RawVal
impl<E: Env> TryFromVal<E, I128Small> for RawVal
type Error = ConversionError
fn try_from_val(_env: &E, val: &I128Small) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, I128Val> for RawVal
impl<E: Env> TryFromVal<E, I128Val> for RawVal
type Error = ConversionError
fn try_from_val(_env: &E, val: &I128Val) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, I256> for RawVal
impl<E: Env> TryFromVal<E, I256> for RawVal
type Error = ConversionError
fn try_from_val(env: &E, v: &I256) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, I256Object> for RawVal
impl<E: Env> TryFromVal<E, I256Object> for RawVal
type Error = ConversionError
fn try_from_val(_env: &E, val: &I256Object) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, I256Small> for RawVal
impl<E: Env> TryFromVal<E, I256Small> for RawVal
type Error = ConversionError
fn try_from_val(_env: &E, val: &I256Small) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, I256Val> for RawVal
impl<E: Env> TryFromVal<E, I256Val> for RawVal
type Error = ConversionError
fn try_from_val(_env: &E, val: &I256Val) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, I32Val> for RawVal
impl<E: Env> TryFromVal<E, I32Val> for RawVal
type Error = ConversionError
fn try_from_val(_env: &E, val: &I32Val) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, I64Object> for RawVal
impl<E: Env> TryFromVal<E, I64Object> for RawVal
type Error = ConversionError
fn try_from_val(_env: &E, val: &I64Object) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, I64Small> for RawVal
impl<E: Env> TryFromVal<E, I64Small> for RawVal
type Error = ConversionError
fn try_from_val(_env: &E, val: &I64Small) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, I64Val> for RawVal
impl<E: Env> TryFromVal<E, I64Val> for RawVal
type Error = ConversionError
fn try_from_val(_env: &E, val: &I64Val) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, LedgerKeyNonceObject> for RawVal
impl<E: Env> TryFromVal<E, LedgerKeyNonceObject> for RawVal
type Error = ConversionError
fn try_from_val( _env: &E, val: &LedgerKeyNonceObject ) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, MapObject> for RawVal
impl<E: Env> TryFromVal<E, MapObject> for RawVal
type Error = ConversionError
fn try_from_val(_env: &E, val: &MapObject) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, Object> for RawVal
impl<E: Env> TryFromVal<E, Object> for RawVal
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 RawValwhere
T: TryIntoVal<E, RawVal>,
impl<E: Env, T> TryFromVal<E, Option<T>> for RawValwhere T: TryIntoVal<E, RawVal>,
source§impl<E: Env> TryFromVal<E, RawVal> for ()
impl<E: Env> TryFromVal<E, RawVal> for ()
type Error = ConversionError
fn try_from_val(_env: &E, val: &RawVal) -> Result<Self, Self::Error>
source§impl<E: Env, T0> TryFromVal<E, RawVal> for (T0,)where
T0: TryFromVal<E, RawVal>,
impl<E: Env, T0> TryFromVal<E, RawVal> for (T0,)where T0: TryFromVal<E, RawVal>,
type Error = ConversionError
fn try_from_val(env: &E, val: &RawVal) -> Result<Self, Self::Error>
source§impl<E: Env, T0, T1> TryFromVal<E, RawVal> for (T0, T1)where
T0: TryFromVal<E, RawVal>,
T1: TryFromVal<E, RawVal>,
impl<E: Env, T0, T1> TryFromVal<E, RawVal> for (T0, T1)where T0: TryFromVal<E, RawVal>, T1: TryFromVal<E, RawVal>,
type Error = ConversionError
fn try_from_val(env: &E, val: &RawVal) -> Result<Self, Self::Error>
source§impl<E: Env, T0, T1, T2> TryFromVal<E, RawVal> for (T0, T1, T2)where
T0: TryFromVal<E, RawVal>,
T1: TryFromVal<E, RawVal>,
T2: TryFromVal<E, RawVal>,
impl<E: Env, T0, T1, T2> TryFromVal<E, RawVal> for (T0, T1, T2)where T0: TryFromVal<E, RawVal>, T1: TryFromVal<E, RawVal>, T2: TryFromVal<E, RawVal>,
type Error = ConversionError
fn try_from_val(env: &E, val: &RawVal) -> Result<Self, Self::Error>
source§impl<E: Env, T0, T1, T2, T3> TryFromVal<E, RawVal> for (T0, T1, T2, T3)where
T0: TryFromVal<E, RawVal>,
T1: TryFromVal<E, RawVal>,
T2: TryFromVal<E, RawVal>,
T3: TryFromVal<E, RawVal>,
impl<E: Env, T0, T1, T2, T3> TryFromVal<E, RawVal> for (T0, T1, T2, T3)where T0: TryFromVal<E, RawVal>, T1: TryFromVal<E, RawVal>, T2: TryFromVal<E, RawVal>, T3: TryFromVal<E, RawVal>,
type Error = ConversionError
fn try_from_val(env: &E, val: &RawVal) -> Result<Self, Self::Error>
source§impl<E: Env, T0, T1, T2, T3, T4> TryFromVal<E, RawVal> for (T0, T1, T2, T3, T4)where
T0: TryFromVal<E, RawVal>,
T1: TryFromVal<E, RawVal>,
T2: TryFromVal<E, RawVal>,
T3: TryFromVal<E, RawVal>,
T4: TryFromVal<E, RawVal>,
impl<E: Env, T0, T1, T2, T3, T4> TryFromVal<E, RawVal> for (T0, T1, T2, T3, T4)where T0: TryFromVal<E, RawVal>, T1: TryFromVal<E, RawVal>, T2: TryFromVal<E, RawVal>, T3: TryFromVal<E, RawVal>, T4: TryFromVal<E, RawVal>,
type Error = ConversionError
fn try_from_val(env: &E, val: &RawVal) -> Result<Self, Self::Error>
source§impl<E: Env, T0, T1, T2, T3, T4, T5> TryFromVal<E, RawVal> for (T0, T1, T2, T3, T4, T5)where
T0: TryFromVal<E, RawVal>,
T1: TryFromVal<E, RawVal>,
T2: TryFromVal<E, RawVal>,
T3: TryFromVal<E, RawVal>,
T4: TryFromVal<E, RawVal>,
T5: TryFromVal<E, RawVal>,
impl<E: Env, T0, T1, T2, T3, T4, T5> TryFromVal<E, RawVal> for (T0, T1, T2, T3, T4, T5)where T0: TryFromVal<E, RawVal>, T1: TryFromVal<E, RawVal>, T2: TryFromVal<E, RawVal>, T3: TryFromVal<E, RawVal>, T4: TryFromVal<E, RawVal>, T5: TryFromVal<E, RawVal>,
type Error = ConversionError
fn try_from_val(env: &E, val: &RawVal) -> Result<Self, Self::Error>
source§impl<E: Env, T0, T1, T2, T3, T4, T5, T6> TryFromVal<E, RawVal> for (T0, T1, T2, T3, T4, T5, T6)where
T0: TryFromVal<E, RawVal>,
T1: TryFromVal<E, RawVal>,
T2: TryFromVal<E, RawVal>,
T3: TryFromVal<E, RawVal>,
T4: TryFromVal<E, RawVal>,
T5: TryFromVal<E, RawVal>,
T6: TryFromVal<E, RawVal>,
impl<E: Env, T0, T1, T2, T3, T4, T5, T6> TryFromVal<E, RawVal> for (T0, T1, T2, T3, T4, T5, T6)where T0: TryFromVal<E, RawVal>, T1: TryFromVal<E, RawVal>, T2: TryFromVal<E, RawVal>, T3: TryFromVal<E, RawVal>, T4: TryFromVal<E, RawVal>, T5: TryFromVal<E, RawVal>, T6: TryFromVal<E, RawVal>,
type Error = ConversionError
fn try_from_val(env: &E, val: &RawVal) -> Result<Self, Self::Error>
source§impl<E: Env, T0, T1, T2, T3, T4, T5, T6, T7> TryFromVal<E, RawVal> for (T0, T1, T2, T3, T4, T5, T6, T7)where
T0: TryFromVal<E, RawVal>,
T1: TryFromVal<E, RawVal>,
T2: TryFromVal<E, RawVal>,
T3: TryFromVal<E, RawVal>,
T4: TryFromVal<E, RawVal>,
T5: TryFromVal<E, RawVal>,
T6: TryFromVal<E, RawVal>,
T7: TryFromVal<E, RawVal>,
impl<E: Env, T0, T1, T2, T3, T4, T5, T6, T7> TryFromVal<E, RawVal> for (T0, T1, T2, T3, T4, T5, T6, T7)where T0: TryFromVal<E, RawVal>, T1: TryFromVal<E, RawVal>, T2: TryFromVal<E, RawVal>, T3: TryFromVal<E, RawVal>, T4: TryFromVal<E, RawVal>, T5: TryFromVal<E, RawVal>, T6: TryFromVal<E, RawVal>, T7: TryFromVal<E, RawVal>,
type Error = ConversionError
fn try_from_val(env: &E, val: &RawVal) -> Result<Self, Self::Error>
source§impl<E: Env, T0, T1, T2, T3, T4, T5, T6, T7, T8> TryFromVal<E, RawVal> for (T0, T1, T2, T3, T4, T5, T6, T7, T8)where
T0: TryFromVal<E, RawVal>,
T1: TryFromVal<E, RawVal>,
T2: TryFromVal<E, RawVal>,
T3: TryFromVal<E, RawVal>,
T4: TryFromVal<E, RawVal>,
T5: TryFromVal<E, RawVal>,
T6: TryFromVal<E, RawVal>,
T7: TryFromVal<E, RawVal>,
T8: TryFromVal<E, RawVal>,
impl<E: Env, T0, T1, T2, T3, T4, T5, T6, T7, T8> TryFromVal<E, RawVal> for (T0, T1, T2, T3, T4, T5, T6, T7, T8)where T0: TryFromVal<E, RawVal>, T1: TryFromVal<E, RawVal>, T2: TryFromVal<E, RawVal>, T3: TryFromVal<E, RawVal>, T4: TryFromVal<E, RawVal>, T5: TryFromVal<E, RawVal>, T6: TryFromVal<E, RawVal>, T7: TryFromVal<E, RawVal>, T8: TryFromVal<E, RawVal>,
type Error = ConversionError
fn try_from_val(env: &E, val: &RawVal) -> Result<Self, Self::Error>
source§impl<E: Env, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9> TryFromVal<E, RawVal> for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9)where
T0: TryFromVal<E, RawVal>,
T1: TryFromVal<E, RawVal>,
T2: TryFromVal<E, RawVal>,
T3: TryFromVal<E, RawVal>,
T4: TryFromVal<E, RawVal>,
T5: TryFromVal<E, RawVal>,
T6: TryFromVal<E, RawVal>,
T7: TryFromVal<E, RawVal>,
T8: TryFromVal<E, RawVal>,
T9: TryFromVal<E, RawVal>,
impl<E: Env, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9> TryFromVal<E, RawVal> for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9)where T0: TryFromVal<E, RawVal>, T1: TryFromVal<E, RawVal>, T2: TryFromVal<E, RawVal>, T3: TryFromVal<E, RawVal>, T4: TryFromVal<E, RawVal>, T5: TryFromVal<E, RawVal>, T6: TryFromVal<E, RawVal>, T7: TryFromVal<E, RawVal>, T8: TryFromVal<E, RawVal>, T9: TryFromVal<E, RawVal>,
type Error = ConversionError
fn try_from_val(env: &E, val: &RawVal) -> Result<Self, Self::Error>
source§impl<E: Env, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> TryFromVal<E, RawVal> for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10)where
T0: TryFromVal<E, RawVal>,
T1: TryFromVal<E, RawVal>,
T2: TryFromVal<E, RawVal>,
T3: TryFromVal<E, RawVal>,
T4: TryFromVal<E, RawVal>,
T5: TryFromVal<E, RawVal>,
T6: TryFromVal<E, RawVal>,
T7: TryFromVal<E, RawVal>,
T8: TryFromVal<E, RawVal>,
T9: TryFromVal<E, RawVal>,
T10: TryFromVal<E, RawVal>,
impl<E: Env, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> TryFromVal<E, RawVal> for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10)where T0: TryFromVal<E, RawVal>, T1: TryFromVal<E, RawVal>, T2: TryFromVal<E, RawVal>, T3: TryFromVal<E, RawVal>, T4: TryFromVal<E, RawVal>, T5: TryFromVal<E, RawVal>, T6: TryFromVal<E, RawVal>, T7: TryFromVal<E, RawVal>, T8: TryFromVal<E, RawVal>, T9: TryFromVal<E, RawVal>, T10: TryFromVal<E, RawVal>,
type Error = ConversionError
fn try_from_val(env: &E, val: &RawVal) -> Result<Self, Self::Error>
source§impl<E: Env, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> TryFromVal<E, RawVal> for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)where
T0: TryFromVal<E, RawVal>,
T1: TryFromVal<E, RawVal>,
T2: TryFromVal<E, RawVal>,
T3: TryFromVal<E, RawVal>,
T4: TryFromVal<E, RawVal>,
T5: TryFromVal<E, RawVal>,
T6: TryFromVal<E, RawVal>,
T7: TryFromVal<E, RawVal>,
T8: TryFromVal<E, RawVal>,
T9: TryFromVal<E, RawVal>,
T10: TryFromVal<E, RawVal>,
T11: TryFromVal<E, RawVal>,
impl<E: Env, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> TryFromVal<E, RawVal> for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)where T0: TryFromVal<E, RawVal>, T1: TryFromVal<E, RawVal>, T2: TryFromVal<E, RawVal>, T3: TryFromVal<E, RawVal>, T4: TryFromVal<E, RawVal>, T5: TryFromVal<E, RawVal>, T6: TryFromVal<E, RawVal>, T7: TryFromVal<E, RawVal>, T8: TryFromVal<E, RawVal>, T9: TryFromVal<E, RawVal>, T10: TryFromVal<E, RawVal>, T11: TryFromVal<E, RawVal>,
type Error = ConversionError
fn try_from_val(env: &E, val: &RawVal) -> Result<Self, Self::Error>
source§impl<E: Env, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12> TryFromVal<E, RawVal> for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12)where
T0: TryFromVal<E, RawVal>,
T1: TryFromVal<E, RawVal>,
T2: TryFromVal<E, RawVal>,
T3: TryFromVal<E, RawVal>,
T4: TryFromVal<E, RawVal>,
T5: TryFromVal<E, RawVal>,
T6: TryFromVal<E, RawVal>,
T7: TryFromVal<E, RawVal>,
T8: TryFromVal<E, RawVal>,
T9: TryFromVal<E, RawVal>,
T10: TryFromVal<E, RawVal>,
T11: TryFromVal<E, RawVal>,
T12: TryFromVal<E, RawVal>,
impl<E: Env, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12> TryFromVal<E, RawVal> for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12)where T0: TryFromVal<E, RawVal>, T1: TryFromVal<E, RawVal>, T2: TryFromVal<E, RawVal>, T3: TryFromVal<E, RawVal>, T4: TryFromVal<E, RawVal>, T5: TryFromVal<E, RawVal>, T6: TryFromVal<E, RawVal>, T7: TryFromVal<E, RawVal>, T8: TryFromVal<E, RawVal>, T9: TryFromVal<E, RawVal>, T10: TryFromVal<E, RawVal>, T11: TryFromVal<E, RawVal>, T12: TryFromVal<E, RawVal>,
type Error = ConversionError
fn try_from_val(env: &E, val: &RawVal) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, RawVal> for AddressObject
impl<E: Env> TryFromVal<E, RawVal> for AddressObject
type Error = ConversionError
fn try_from_val(_env: &E, val: &RawVal) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, RawVal> for Bool
impl<E: Env> TryFromVal<E, RawVal> for Bool
type Error = ConversionError
fn try_from_val(_env: &E, val: &RawVal) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, RawVal> for BytesObject
impl<E: Env> TryFromVal<E, RawVal> for BytesObject
type Error = ConversionError
fn try_from_val(_env: &E, val: &RawVal) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, RawVal> for ContractExecutableObject
impl<E: Env> TryFromVal<E, RawVal> for ContractExecutableObject
type Error = ConversionError
fn try_from_val(_env: &E, val: &RawVal) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, RawVal> for DurationObject
impl<E: Env> TryFromVal<E, RawVal> for DurationObject
type Error = ConversionError
fn try_from_val(_env: &E, val: &RawVal) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, RawVal> for DurationSmall
impl<E: Env> TryFromVal<E, RawVal> for DurationSmall
type Error = ConversionError
fn try_from_val(_env: &E, val: &RawVal) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, RawVal> for DurationVal
impl<E: Env> TryFromVal<E, RawVal> for DurationVal
type Error = ConversionError
fn try_from_val(_env: &E, val: &RawVal) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, RawVal> for I128Object
impl<E: Env> TryFromVal<E, RawVal> for I128Object
type Error = ConversionError
fn try_from_val(_env: &E, val: &RawVal) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, RawVal> for I128Small
impl<E: Env> TryFromVal<E, RawVal> for I128Small
type Error = ConversionError
fn try_from_val(_env: &E, val: &RawVal) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, RawVal> for I128Val
impl<E: Env> TryFromVal<E, RawVal> for I128Val
type Error = ConversionError
fn try_from_val(_env: &E, val: &RawVal) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, RawVal> for I256
impl<E: Env> TryFromVal<E, RawVal> for I256
type Error = ConversionError
fn try_from_val(env: &E, v: &RawVal) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, RawVal> for I256Object
impl<E: Env> TryFromVal<E, RawVal> for I256Object
type Error = ConversionError
fn try_from_val(_env: &E, val: &RawVal) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, RawVal> for I256Small
impl<E: Env> TryFromVal<E, RawVal> for I256Small
type Error = ConversionError
fn try_from_val(_env: &E, val: &RawVal) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, RawVal> for I256Val
impl<E: Env> TryFromVal<E, RawVal> for I256Val
type Error = ConversionError
fn try_from_val(_env: &E, val: &RawVal) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, RawVal> for I32Val
impl<E: Env> TryFromVal<E, RawVal> for I32Val
type Error = ConversionError
fn try_from_val(_env: &E, val: &RawVal) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, RawVal> for I64Object
impl<E: Env> TryFromVal<E, RawVal> for I64Object
type Error = ConversionError
fn try_from_val(_env: &E, val: &RawVal) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, RawVal> for I64Small
impl<E: Env> TryFromVal<E, RawVal> for I64Small
type Error = ConversionError
fn try_from_val(_env: &E, val: &RawVal) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, RawVal> for I64Val
impl<E: Env> TryFromVal<E, RawVal> for I64Val
type Error = ConversionError
fn try_from_val(_env: &E, val: &RawVal) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, RawVal> for LedgerKeyNonceObject
impl<E: Env> TryFromVal<E, RawVal> for LedgerKeyNonceObject
type Error = ConversionError
fn try_from_val(_env: &E, val: &RawVal) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, RawVal> for MapObject
impl<E: Env> TryFromVal<E, RawVal> for MapObject
type Error = ConversionError
fn try_from_val(_env: &E, val: &RawVal) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, RawVal> for Object
impl<E: Env> TryFromVal<E, RawVal> for Object
type Error = ConversionError
fn try_from_val(_env: &E, val: &RawVal) -> Result<Self, Self::Error>
source§impl<E: Env, T> TryFromVal<E, RawVal> for Option<T>where
T: TryFromVal<E, RawVal>,
impl<E: Env, T> TryFromVal<E, RawVal> for Option<T>where T: TryFromVal<E, RawVal>,
source§impl<E: Env> TryFromVal<E, RawVal> for RawVal
impl<E: Env> TryFromVal<E, RawVal> for RawVal
type Error = ConversionError
fn try_from_val(_env: &E, val: &RawVal) -> Result<Self, Self::Error>
source§impl<E: Env, T, R> TryFromVal<E, RawVal> for Result<T, R>where
T: TryFromVal<E, RawVal>,
R: TryFrom<Status>,
impl<E: Env, T, R> TryFromVal<E, RawVal> for Result<T, R>where T: TryFromVal<E, RawVal>, R: TryFrom<Status>,
type Error = ConversionError
fn try_from_val(env: &E, val: &RawVal) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, RawVal> for ScValwhere
ScValObject: TryFromVal<E, Object>,
impl<E: Env> TryFromVal<E, RawVal> for ScValwhere ScValObject: TryFromVal<E, Object>,
type Error = ConversionError
fn try_from_val(env: &E, val: &RawVal) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, RawVal> for Status
impl<E: Env> TryFromVal<E, RawVal> for Status
type Error = ConversionError
fn try_from_val(_env: &E, val: &RawVal) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, RawVal> for String
impl<E: Env> TryFromVal<E, RawVal> for String
type Error = ConversionError
fn try_from_val(env: &E, val: &RawVal) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, RawVal> for StringObject
impl<E: Env> TryFromVal<E, RawVal> for StringObject
type Error = ConversionError
fn try_from_val(_env: &E, val: &RawVal) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, RawVal> for Symbol
impl<E: Env> TryFromVal<E, RawVal> for Symbol
type Error = ConversionError
fn try_from_val(_env: &E, val: &RawVal) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, RawVal> for SymbolObject
impl<E: Env> TryFromVal<E, RawVal> for SymbolObject
type Error = ConversionError
fn try_from_val(_env: &E, val: &RawVal) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, RawVal> for SymbolSmall
impl<E: Env> TryFromVal<E, RawVal> for SymbolSmall
type Error = ConversionError
fn try_from_val(_env: &E, val: &RawVal) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, RawVal> for TimepointObject
impl<E: Env> TryFromVal<E, RawVal> for TimepointObject
type Error = ConversionError
fn try_from_val(_env: &E, val: &RawVal) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, RawVal> for TimepointSmall
impl<E: Env> TryFromVal<E, RawVal> for TimepointSmall
type Error = ConversionError
fn try_from_val(_env: &E, val: &RawVal) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, RawVal> for TimepointVal
impl<E: Env> TryFromVal<E, RawVal> for TimepointVal
type Error = ConversionError
fn try_from_val(_env: &E, val: &RawVal) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, RawVal> for U128Object
impl<E: Env> TryFromVal<E, RawVal> for U128Object
type Error = ConversionError
fn try_from_val(_env: &E, val: &RawVal) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, RawVal> for U128Small
impl<E: Env> TryFromVal<E, RawVal> for U128Small
type Error = ConversionError
fn try_from_val(_env: &E, val: &RawVal) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, RawVal> for U128Val
impl<E: Env> TryFromVal<E, RawVal> for U128Val
type Error = ConversionError
fn try_from_val(_env: &E, val: &RawVal) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, RawVal> for U256
impl<E: Env> TryFromVal<E, RawVal> for U256
type Error = ConversionError
fn try_from_val(env: &E, v: &RawVal) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, RawVal> for U256Object
impl<E: Env> TryFromVal<E, RawVal> for U256Object
type Error = ConversionError
fn try_from_val(_env: &E, val: &RawVal) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, RawVal> for U256Small
impl<E: Env> TryFromVal<E, RawVal> for U256Small
type Error = ConversionError
fn try_from_val(_env: &E, val: &RawVal) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, RawVal> for U256Val
impl<E: Env> TryFromVal<E, RawVal> for U256Val
type Error = ConversionError
fn try_from_val(_env: &E, val: &RawVal) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, RawVal> for U32Val
impl<E: Env> TryFromVal<E, RawVal> for U32Val
type Error = ConversionError
fn try_from_val(_env: &E, val: &RawVal) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, RawVal> for U64Object
impl<E: Env> TryFromVal<E, RawVal> for U64Object
type Error = ConversionError
fn try_from_val(_env: &E, val: &RawVal) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, RawVal> for U64Small
impl<E: Env> TryFromVal<E, RawVal> for U64Small
type Error = ConversionError
fn try_from_val(_env: &E, val: &RawVal) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, RawVal> for U64Val
impl<E: Env> TryFromVal<E, RawVal> for U64Val
type Error = ConversionError
fn try_from_val(_env: &E, val: &RawVal) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, RawVal> for VecObject
impl<E: Env> TryFromVal<E, RawVal> for VecObject
type Error = ConversionError
fn try_from_val(_env: &E, val: &RawVal) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, RawVal> for Void
impl<E: Env> TryFromVal<E, RawVal> for Void
type Error = ConversionError
fn try_from_val(_env: &E, val: &RawVal) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, RawVal> for bool
impl<E: Env> TryFromVal<E, RawVal> for bool
type Error = ConversionError
fn try_from_val(_env: &E, val: &RawVal) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, RawVal> for i128
impl<E: Env> TryFromVal<E, RawVal> for i128
type Error = ConversionError
fn try_from_val(env: &E, v: &RawVal) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, RawVal> for i32
impl<E: Env> TryFromVal<E, RawVal> for i32
type Error = ConversionError
fn try_from_val(_env: &E, val: &RawVal) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, RawVal> for i64
impl<E: Env> TryFromVal<E, RawVal> for i64
type Error = ConversionError
fn try_from_val(env: &E, val: &RawVal) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, RawVal> for u128
impl<E: Env> TryFromVal<E, RawVal> for u128
type Error = ConversionError
fn try_from_val(env: &E, v: &RawVal) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, RawVal> for u32
impl<E: Env> TryFromVal<E, RawVal> for u32
type Error = ConversionError
fn try_from_val(_env: &E, val: &RawVal) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, RawVal> for u64
impl<E: Env> TryFromVal<E, RawVal> for u64
type Error = ConversionError
fn try_from_val(env: &E, val: &RawVal) -> Result<Self, Self::Error>
source§impl<E: Env, T, R> TryFromVal<E, Result<T, R>> for RawValwhere
RawVal: TryFromVal<E, T>,
Status: for<'a> TryFrom<&'a R>,
impl<E: Env, T, R> TryFromVal<E, Result<T, R>> for RawValwhere RawVal: TryFromVal<E, T>, Status: for<'a> TryFrom<&'a R>,
type Error = ConversionError
fn try_from_val(env: &E, v: &Result<T, R>) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, ScVal> for RawValwhere
Object: for<'a> TryFromVal<E, ScValObjRef<'a>, Error = ConversionError>,
impl<E: Env> TryFromVal<E, ScVal> for RawValwhere Object: for<'a> TryFromVal<E, ScValObjRef<'a>, Error = ConversionError>,
source§impl<E: Env> TryFromVal<E, Status> for RawVal
impl<E: Env> TryFromVal<E, Status> for RawVal
type Error = ConversionError
fn try_from_val(_env: &E, val: &Status) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, String> for RawVal
impl<E: Env> TryFromVal<E, String> for RawVal
type Error = ConversionError
fn try_from_val(env: &E, v: &String) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, StringObject> for RawVal
impl<E: Env> TryFromVal<E, StringObject> for RawVal
type Error = ConversionError
fn try_from_val(_env: &E, val: &StringObject) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, Symbol> for RawVal
impl<E: Env> TryFromVal<E, Symbol> for RawVal
type Error = ConversionError
fn try_from_val(_env: &E, val: &Symbol) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, SymbolObject> for RawVal
impl<E: Env> TryFromVal<E, SymbolObject> for RawVal
type Error = ConversionError
fn try_from_val(_env: &E, val: &SymbolObject) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, SymbolSmall> for RawVal
impl<E: Env> TryFromVal<E, SymbolSmall> for RawVal
type Error = ConversionError
fn try_from_val(_env: &E, val: &SymbolSmall) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, TimepointObject> for RawVal
impl<E: Env> TryFromVal<E, TimepointObject> for RawVal
type Error = ConversionError
fn try_from_val(_env: &E, val: &TimepointObject) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, TimepointSmall> for RawVal
impl<E: Env> TryFromVal<E, TimepointSmall> for RawVal
type Error = ConversionError
fn try_from_val(_env: &E, val: &TimepointSmall) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, TimepointVal> for RawVal
impl<E: Env> TryFromVal<E, TimepointVal> for RawVal
type Error = ConversionError
fn try_from_val(_env: &E, val: &TimepointVal) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, U128Object> for RawVal
impl<E: Env> TryFromVal<E, U128Object> for RawVal
type Error = ConversionError
fn try_from_val(_env: &E, val: &U128Object) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, U128Small> for RawVal
impl<E: Env> TryFromVal<E, U128Small> for RawVal
type Error = ConversionError
fn try_from_val(_env: &E, val: &U128Small) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, U128Val> for RawVal
impl<E: Env> TryFromVal<E, U128Val> for RawVal
type Error = ConversionError
fn try_from_val(_env: &E, val: &U128Val) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, U256> for RawVal
impl<E: Env> TryFromVal<E, U256> for RawVal
type Error = ConversionError
fn try_from_val(env: &E, v: &U256) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, U256Object> for RawVal
impl<E: Env> TryFromVal<E, U256Object> for RawVal
type Error = ConversionError
fn try_from_val(_env: &E, val: &U256Object) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, U256Small> for RawVal
impl<E: Env> TryFromVal<E, U256Small> for RawVal
type Error = ConversionError
fn try_from_val(_env: &E, val: &U256Small) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, U256Val> for RawVal
impl<E: Env> TryFromVal<E, U256Val> for RawVal
type Error = ConversionError
fn try_from_val(_env: &E, val: &U256Val) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, U32Val> for RawVal
impl<E: Env> TryFromVal<E, U32Val> for RawVal
type Error = ConversionError
fn try_from_val(_env: &E, val: &U32Val) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, U64Object> for RawVal
impl<E: Env> TryFromVal<E, U64Object> for RawVal
type Error = ConversionError
fn try_from_val(_env: &E, val: &U64Object) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, U64Small> for RawVal
impl<E: Env> TryFromVal<E, U64Small> for RawVal
type Error = ConversionError
fn try_from_val(_env: &E, val: &U64Small) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, U64Val> for RawVal
impl<E: Env> TryFromVal<E, U64Val> for RawVal
type Error = ConversionError
fn try_from_val(_env: &E, val: &U64Val) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, VecObject> for RawVal
impl<E: Env> TryFromVal<E, VecObject> for RawVal
type Error = ConversionError
fn try_from_val(_env: &E, val: &VecObject) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, Void> for RawVal
impl<E: Env> TryFromVal<E, Void> for RawVal
type Error = ConversionError
fn try_from_val(_env: &E, val: &Void) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, bool> for RawVal
impl<E: Env> TryFromVal<E, bool> for RawVal
type Error = ConversionError
fn try_from_val(_env: &E, val: &bool) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, i128> for RawVal
impl<E: Env> TryFromVal<E, i128> for RawVal
type Error = ConversionError
fn try_from_val(env: &E, v: &i128) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, i32> for RawVal
impl<E: Env> TryFromVal<E, i32> for RawVal
type Error = ConversionError
fn try_from_val(_env: &E, val: &i32) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, i64> for RawVal
impl<E: Env> TryFromVal<E, i64> for RawVal
type Error = ConversionError
fn try_from_val(env: &E, v: &i64) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, u128> for RawVal
impl<E: Env> TryFromVal<E, u128> for RawVal
type Error = ConversionError
fn try_from_val(env: &E, v: &u128) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, u32> for RawVal
impl<E: Env> TryFromVal<E, u32> for RawVal
type Error = ConversionError
fn try_from_val(_env: &E, val: &u32) -> Result<Self, Self::Error>
source§impl<E: Env> TryFromVal<E, u64> for RawVal
impl<E: Env> TryFromVal<E, u64> for RawVal
type Error = ConversionError
fn try_from_val(env: &E, v: &u64) -> Result<Self, Self::Error>
impl Copy for RawVal
Auto Trait Implementations§
impl RefUnwindSafe for RawVal
impl Send for RawVal
impl Sync for RawVal
impl Unpin for RawVal
impl UnwindSafe for RawVal
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, E, C> Compare<(T, U)> for Cwhere
C: Compare<T, Error = E, Error = E> + Compare<U>,
impl<T, U, E, C> Compare<(T, U)> for Cwhere C: Compare<T, Error = E, Error = E> + Compare<U>,
source§impl<T, U, V, E, C> Compare<(T, U, V)> for Cwhere
C: Compare<T, Error = E, Error = E, Error = E> + Compare<U> + Compare<V>,
impl<T, U, V, E, C> Compare<(T, U, V)> for Cwhere C: Compare<T, Error = E, Error = E, Error = E> + Compare<U> + Compare<V>,
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere T: Any,
§fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>
fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>
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 + 'static>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
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.