Trait radix_engine::types::From

1.0.0 · source ·
pub trait From<T>: Sized {
    // Required method
    fn from(value: T) -> Self;
}
Expand description

Used to do value-to-value conversions while consuming the input value. It is the reciprocal of Into.

One should always prefer implementing From over Into because implementing From automatically provides one with an implementation of Into thanks to the blanket implementation in the standard library.

Only implement Into when targeting a version prior to Rust 1.41 and converting to a type outside the current crate. From was not able to do these types of conversions in earlier versions because of Rust’s orphaning rules. See Into for more details.

Prefer using Into over using From when specifying trait bounds on a generic function. This way, types that directly implement Into can be used as arguments as well.

The From is also very useful when performing error handling. When constructing a function that is capable of failing, the return type will generally be of the form Result<T, E>. The From trait simplifies error handling by allowing a function to return a single error type that encapsulate multiple error types. See the “Examples” section and the book for more details.

Note: This trait must not fail. The From trait is intended for perfect conversions. If the conversion can fail or is not perfect, use TryFrom.

§Generic Implementations

  • From<T> for U implies Into<U> for T
  • From is reflexive, which means that From<T> for T is implemented

§When to implement From

While there’s no technical restrictions on which conversions can be done using a From implementation, the general expectation is that the conversions should typically be restricted as follows:

  • The conversion is infallible: if the conversion can fail, use TryFrom instead; don’t provide a From impl that panics.

  • The conversion is lossless: semantically, it should not lose or discard information. For example, i32: From<u16> exists, where the original value can be recovered using u16: TryFrom<i32>. And String: From<&str> exists, where you can get something equivalent to the original value via Deref. But From cannot be used to convert from u32 to u16, since that cannot succeed in a lossless way. (There’s some wiggle room here for information not considered semantically relevant. For example, Box<[T]>: From<Vec<T>> exists even though it might not preserve capacity, like how two vectors can be equal despite differing capacities.)

  • The conversion is value-preserving: the conceptual kind and meaning of the resulting value is the same, even though the Rust type and technical representation might be different. For example -1_i8 as u8 is lossless, since as casting back can recover the original value, but that conversion is not available via From because -1 and 255 are different conceptual values (despite being identical bit patterns technically). But f32: From<i16> is available because 1_i16 and 1.0_f32 are conceptually the same real number (despite having very different bit patterns technically). String: From<char> is available because they’re both text, but String: From<u32> is not available, since 1 (a number) and "1" (text) are too different. (Converting values to text is instead covered by the Display trait.)

  • The conversion is obvious: it’s the only reasonable conversion between the two types. Otherwise it’s better to have it be a named method or constructor, like how str::as_bytes is a method and how integers have methods like u32::from_ne_bytes, u32::from_le_bytes, and u32::from_be_bytes, none of which are From implementations. Whereas there’s only one reasonable way to wrap an Ipv6Addr into an IpAddr, thus IpAddr: From<Ipv6Addr> exists.

§Examples

String implements From<&str>:

An explicit conversion from a &str to a String is done as follows:

let string = "hello".to_string();
let other_string = String::from("hello");

assert_eq!(string, other_string);

While performing error handling it is often useful to implement From for your own error type. By converting underlying error types to our own custom error type that encapsulates the underlying error type, we can return a single error type without losing information on the underlying cause. The ‘?’ operator automatically converts the underlying error type to our custom error type with From::from.

use std::fs;
use std::io;
use std::num;

enum CliError {
    IoError(io::Error),
    ParseError(num::ParseIntError),
}

impl From<io::Error> for CliError {
    fn from(error: io::Error) -> Self {
        CliError::IoError(error)
    }
}

impl From<num::ParseIntError> for CliError {
    fn from(error: num::ParseIntError) -> Self {
        CliError::ParseError(error)
    }
}

fn open_and_parse_file(file_name: &str) -> Result<i32, CliError> {
    let mut contents = fs::read_to_string(&file_name)?;
    let num: i32 = contents.trim().parse()?;
    Ok(num)
}

Required Methods§

source

fn from(value: T) -> Self

Converts to this type from the input type.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl From<&BucketSnapshot> for ResourceSpecifier

source§

impl From<&str> for Vec<u8>

1.21.0 · source§

impl From<&str> for radix_engine::types::radix_engine_common::prelude::rust::sync::Arc<str>

1.17.0 · source§

impl From<&str> for Box<str>

1.6.0 · source§

impl From<&str> for Box<dyn Error>

source§

impl From<&str> for MethodKey

1.21.0 · source§

impl From<&str> for Rc<str>

source§

impl From<&str> for RoleKey

source§

impl From<&str> for String

§

impl From<&str> for Arc<str>

1.7.0 · source§

impl From<&CStr> for CString

1.24.0 · source§

impl From<&CStr> for radix_engine::types::radix_engine_common::prelude::rust::sync::Arc<CStr>

1.17.0 · source§

impl From<&CStr> for Box<CStr>

1.24.0 · source§

impl From<&CStr> for Rc<CStr>

source§

impl From<&StreamResult> for Result<MZStatus, MZError>

1.24.0 · source§

impl From<&OsStr> for radix_engine::types::radix_engine_common::prelude::rust::sync::Arc<OsStr>

1.17.0 · source§

impl From<&OsStr> for Box<OsStr>

1.24.0 · source§

impl From<&OsStr> for Rc<OsStr>

1.24.0 · source§

impl From<&Path> for radix_engine::types::radix_engine_common::prelude::rust::sync::Arc<Path>

1.17.0 · source§

impl From<&Path> for Box<Path>

1.24.0 · source§

impl From<&Path> for Rc<Path>

source§

impl From<&NetworkDefinition> for HrpSet

1.35.0 · source§

impl From<&String> for String

§

impl From<&Signature> for [u8; 64]

1.44.0 · source§

impl From<&mut str> for String

§

impl From<(BlueprintId, GlobalAddress)> for PreAllocatedAddress

§

impl From<(Ed25519PublicKey, Ed25519Signature)> for SignatureWithPublicKeyV1

source§

impl From<AccessControllerField> for SubstateKey

source§

impl From<AccessControllerField> for u8

source§

impl From<VersionedAccessControllerState> for AccessControllerStateFieldPayload

source§

impl From<AccessControllerError> for RuntimeError

source§

impl From<AccountField> for SubstateKey

source§

impl From<AccountField> for u8

source§

impl From<VersionedAccountAuthorizedDepositor> for AccountAuthorizedDepositorEntryPayload

source§

impl From<VersionedAccountDepositRule> for AccountDepositRuleFieldPayload

source§

impl From<VersionedAccountResourcePreference> for AccountResourcePreferenceEntryPayload

source§

impl From<VersionedAccountResourceVault> for AccountResourceVaultEntryPayload

source§

impl From<AccountError> for RuntimeError

source§

impl From<ConsensusManagerField> for SubstateKey

source§

impl From<ConsensusManagerField> for u8

source§

impl From<VersionedConsensusManagerConfiguration> for ConsensusManagerConfigurationFieldPayload

source§

impl From<VersionedConsensusManagerCurrentProposalStatistic> for ConsensusManagerCurrentProposalStatisticFieldPayload

source§

impl From<VersionedConsensusManagerCurrentValidatorSet> for ConsensusManagerCurrentValidatorSetFieldPayload

source§

impl From<VersionedConsensusManagerProposerMilliTimestamp> for ConsensusManagerProposerMilliTimestampFieldPayload

source§

impl From<VersionedConsensusManagerProposerMinuteTimestamp> for ConsensusManagerProposerMinuteTimestampFieldPayload

source§

impl From<VersionedConsensusManagerRegisteredValidatorByStake> for ConsensusManagerRegisteredValidatorByStakeEntryPayload

source§

impl From<VersionedConsensusManagerState> for ConsensusManagerStateFieldPayload

source§

impl From<VersionedConsensusManagerValidatorRewards> for ConsensusManagerValidatorRewardsFieldPayload

source§

impl From<ConsensusManagerError> for ApplicationError

source§

impl From<ValidatorField> for SubstateKey

source§

impl From<ValidatorField> for u8

source§

impl From<VersionedValidatorProtocolUpdateReadinessSignal> for ValidatorProtocolUpdateReadinessSignalFieldPayload

source§

impl From<VersionedValidatorState> for ValidatorStateFieldPayload

source§

impl From<PackageError> for ApplicationError

source§

impl From<PackageField> for SubstateKey

source§

impl From<PackageField> for u8

source§

impl From<VersionedPackageBlueprintVersionAuthConfig> for PackageBlueprintVersionAuthConfigEntryPayload

source§

impl From<VersionedPackageBlueprintVersionDefinition> for PackageBlueprintVersionDefinitionEntryPayload

source§

impl From<VersionedPackageBlueprintVersionDependencies> for PackageBlueprintVersionDependenciesEntryPayload

source§

impl From<VersionedPackageBlueprintVersionRoyaltyConfig> for PackageBlueprintVersionRoyaltyConfigEntryPayload

source§

impl From<VersionedPackageCodeInstrumentedCode> for PackageCodeInstrumentedCodeEntryPayload

source§

impl From<VersionedPackageCodeOriginalCode> for PackageCodeOriginalCodeEntryPayload

source§

impl From<VersionedPackageCodeVmType> for PackageCodeVmTypeEntryPayload

source§

impl From<VersionedPackageRoyaltyAccumulator> for PackageRoyaltyAccumulatorFieldPayload

source§

impl From<Error> for RuntimeError

source§

impl From<Error> for RuntimeError

source§

impl From<Error> for RuntimeError

source§

impl From<MultiResourcePoolField> for SubstateKey

source§

impl From<MultiResourcePoolField> for u8

source§

impl From<VersionedMultiResourcePoolState> for MultiResourcePoolStateFieldPayload

source§

impl From<OneResourcePoolField> for SubstateKey

source§

impl From<OneResourcePoolField> for u8

source§

impl From<VersionedOneResourcePoolState> for OneResourcePoolStateFieldPayload

source§

impl From<TwoResourcePoolField> for SubstateKey

source§

impl From<TwoResourcePoolField> for u8

source§

impl From<VersionedTwoResourcePoolState> for TwoResourcePoolStateFieldPayload

source§

impl From<ComposedProof> for BTreeMap<SubstateKey, IndexedScryptoValue>

source§

impl From<AuthZoneError> for ApplicationError

source§

impl From<BucketError> for ApplicationError

source§

impl From<BucketError> for RuntimeError

source§

impl From<FungibleResourceManagerError> for ApplicationError

source§

impl From<FungibleResourceManagerField> for SubstateKey

source§

impl From<FungibleResourceManagerField> for u8

source§

impl From<VersionedFungibleResourceManagerDivisibility> for FungibleResourceManagerDivisibilityFieldPayload

source§

impl From<VersionedFungibleResourceManagerTotalSupply> for FungibleResourceManagerTotalSupplyFieldPayload

source§

impl From<FungibleVaultField> for SubstateKey

source§

impl From<FungibleVaultField> for u8

source§

impl From<VersionedFungibleVaultBalance> for FungibleVaultBalanceFieldPayload

source§

impl From<VersionedFungibleVaultFreezeStatus> for FungibleVaultFreezeStatusFieldPayload

source§

impl From<VersionedFungibleVaultLockedBalance> for FungibleVaultLockedBalanceFieldPayload

source§

impl From<NonFungibleResourceManagerField> for SubstateKey

source§

impl From<NonFungibleResourceManagerField> for u8

source§

impl From<VersionedNonFungibleResourceManagerIdType> for NonFungibleResourceManagerIdTypeFieldPayload

source§

impl From<VersionedNonFungibleResourceManagerMutableFields> for NonFungibleResourceManagerMutableFieldsFieldPayload

source§

impl From<VersionedNonFungibleResourceManagerTotalSupply> for NonFungibleResourceManagerTotalSupplyFieldPayload

source§

impl From<NonFungibleVaultField> for SubstateKey

source§

impl From<NonFungibleVaultField> for u8

source§

impl From<VersionedNonFungibleVaultBalance> for NonFungibleVaultBalanceFieldPayload

source§

impl From<VersionedNonFungibleVaultFreezeStatus> for NonFungibleVaultFreezeStatusFieldPayload

source§

impl From<VersionedNonFungibleVaultLockedResource> for NonFungibleVaultLockedResourceFieldPayload

source§

impl From<VersionedNonFungibleVaultNonFungible> for NonFungibleVaultNonFungibleEntryPayload

source§

impl From<ProofError> for ApplicationError

source§

impl From<VaultError> for ApplicationError

source§

impl From<VaultError> for RuntimeError

source§

impl From<WorktopError> for ApplicationError

source§

impl From<TransactionProcessorError> for ApplicationError

source§

impl From<TransactionProcessorError> for RuntimeError

source§

impl From<InvalidNameError> for PackageError

source§

impl From<ApplicationError> for RuntimeError

source§

impl From<CallFrameError> for KernelError

source§

impl From<KernelError> for RuntimeError

source§

impl From<SystemModuleError> for RuntimeError

source§

impl From<SystemUpstreamError> for RuntimeError

source§

impl From<CallFrameDrainSubstatesError> for CallFrameError

source§

impl From<CallFrameRemoveSubstateError> for CallFrameError

source§

impl From<CallFrameScanKeysError> for CallFrameError

source§

impl From<CallFrameScanSortedSubstatesError> for CallFrameError

source§

impl From<CallFrameSetSubstateError> for CallFrameError

source§

impl From<CloseSubstateError> for CallFrameError

source§

impl From<CreateFrameError> for CallFrameError

source§

impl From<CreateNodeError> for CallFrameError

source§

impl From<DropNodeError> for CallFrameError

source§

impl From<MovePartitionError> for CallFrameError

source§

impl From<OpenSubstateError> for CallFrameError

source§

impl From<PassMessageError> for CallFrameError

source§

impl From<ReadSubstateError> for CallFrameError

source§

impl From<WriteSubstateError> for CallFrameError

source§

impl From<VersionedMetadataEntry> for MetadataEntryEntryPayload

source§

impl From<RoleAssignmentError> for ApplicationError

source§

impl From<RoleAssignmentField> for SubstateKey

source§

impl From<RoleAssignmentField> for u8

source§

impl From<VersionedRoleAssignmentAccessRule> for RoleAssignmentAccessRuleEntryPayload

source§

impl From<VersionedRoleAssignmentOwner> for RoleAssignmentOwnerFieldPayload

source§

impl From<ComponentRoyaltyField> for SubstateKey

source§

impl From<ComponentRoyaltyField> for u8

source§

impl From<VersionedComponentRoyaltyAccumulator> for ComponentRoyaltyAccumulatorFieldPayload

source§

impl From<VersionedComponentRoyaltyMethodAmount> for ComponentRoyaltyMethodAmountEntryPayload

source§

impl From<AuthError> for SystemModuleError

source§

impl From<CostingError> for SystemModuleError

source§

impl From<PrepareError> for ExtractSchemaError

source§

impl From<Proposer> for Role

source§

impl From<ResourcePreference> for VersionedAccountResourcePreference

source§

impl From<AccessControllerPartitionOffset> for PartitionOffset

source§

impl From<AccessRule> for VersionedRoleAssignmentAccessRule

source§

impl From<AccessRuleNode> for AccessRule

source§

impl From<AccountPartitionOffset> for PartitionOffset

source§

impl From<AuthZoneField> for SubstateKey

source§

impl From<AuthZoneField> for u8

source§

impl From<BootLoaderField> for SubstateKey

source§

impl From<BootLoaderField> for u8

source§

impl From<ComponentField> for SubstateKey

source§

impl From<ComponentField> for u8

source§

impl From<ComponentRoyaltyPartitionOffset> for PartitionOffset

source§

impl From<ConsensusManagerPartitionOffset> for PartitionOffset

1.45.0 · source§

impl From<Cow<'_, str>> for Box<str>

1.45.0 · source§

impl From<Cow<'_, CStr>> for Box<CStr>

1.45.0 · source§

impl From<Cow<'_, OsStr>> for Box<OsStr>

1.45.0 · source§

impl From<Cow<'_, Path>> for Box<Path>

source§

impl From<DateTimeError> for ParseUtcDateTimeError

§

impl From<DecodeError> for DecompileError

§

impl From<DecodeError> for PrepareError

§

impl From<EncodeError> for DecompileError

§

impl From<EncodeError> for PrepareError

§

impl From<EncodeError> for SignatureValidationError

§

impl From<EncodeError> for TransactionValidationError

source§

impl From<EntityType> for &'static str

source§

impl From<FungibleBucketField> for SubstateKey

source§

impl From<FungibleBucketField> for u8

source§

impl From<FungibleProofField> for SubstateKey

source§

impl From<FungibleProofField> for u8

source§

impl From<FungibleResourceManagerPartitionOffset> for PartitionOffset

source§

impl From<FungibleVaultPartitionOffset> for PartitionOffset

source§

impl From<GenericMetadataValue<UncheckedUrl, UncheckedOrigin>> for VersionedMetadataEntry

source§

impl From<ManifestCustomValueKind> for ValueKind<ManifestCustomValueKind>

source§

impl From<MetadataPartitionOffset> for PartitionOffset

source§

impl From<MultiResourcePoolPartitionOffset> for PartitionOffset

source§

impl From<NonFungibleBucketField> for SubstateKey

source§

impl From<NonFungibleBucketField> for u8

source§

impl From<NonFungibleIdType> for VersionedNonFungibleResourceManagerIdType

source§

impl From<NonFungibleLocalId> for NonFungibleResourceManagerDataKeyPayload

source§

impl From<NonFungibleLocalId> for NonFungibleVaultNonFungibleKeyPayload

source§

impl From<NonFungibleProofField> for SubstateKey

source§

impl From<NonFungibleProofField> for u8

source§

impl From<NonFungibleResourceManagerPartitionOffset> for PartitionOffset

source§

impl From<NonFungibleVaultPartitionOffset> for PartitionOffset

source§

impl From<OneResourcePoolPartitionOffset> for PartitionOffset

source§

impl From<Option<AttachedModuleId>> for ModuleId

source§

impl From<PackagePartitionOffset> for PartitionOffset

source§

impl From<PackageRoyaltyConfig> for VersionedPackageBlueprintVersionRoyaltyConfig

source§

impl From<ParseNonFungibleLocalIdError> for ParseNonFungibleGlobalIdError

§

impl From<PublicKey> for PublicKeyFingerprint

§

impl From<PublicKeyHash> for PublicKeyFingerprint

source§

impl From<ResourceOrNonFungible> for AccessRuleNode

source§

impl From<ResourceOrNonFungible> for AccountAuthorizedDepositorKeyPayload

source§

impl From<RoleAssignmentPartitionOffset> for PartitionOffset

source§

impl From<RoyaltyAmount> for VersionedComponentRoyaltyMethodAmount

source§

impl From<RoyaltyField> for SubstateKey

source§

impl From<RoyaltyField> for u8

§

impl From<RustToManifestValueError> for DecompileError

source§

impl From<ScryptoCustomValueKind> for ValueKind<ScryptoCustomValueKind>

source§

impl From<TransactionTrackerField> for SubstateKey

source§

impl From<TransactionTrackerField> for u8

source§

impl From<TwoResourcePoolPartitionOffset> for PartitionOffset

source§

impl From<TypeInfoField> for SubstateKey

source§

impl From<TypeInfoField> for u8

source§

impl From<ValidatorPartitionOffset> for PartitionOffset

source§

impl From<VersionedSchema<ScryptoCustomSchema>> for PackageSchemaEntryPayload

source§

impl From<WorktopField> for SubstateKey

source§

impl From<WorktopField> for u8

source§

impl From<TryReserveErrorKind> for TryReserveError

source§

impl From<AsciiChar> for char

source§

impl From<AsciiChar> for u8

source§

impl From<AsciiChar> for u16

source§

impl From<AsciiChar> for u32

source§

impl From<AsciiChar> for u64

source§

impl From<AsciiChar> for u128

1.29.0 · source§

impl From<TokenTree> for proc_macro::TokenStream

Creates a token stream containing a single token tree.

1.14.0 · source§

impl From<ErrorKind> for std::io::error::Error

Intended for use for errors not exposed to the user, where allocating onto the heap (for normal construction via Error::new) is too costly.

source§

impl From<TokenTree> for proc_macro2::TokenStream

source§

impl From<TokenStream> for proc_macro::TokenStream

source§

impl From<Meta> for NestedMeta

source§

impl From<Lit> for NestedMeta

1.36.0 · source§

impl From<Infallible> for TryFromSliceError

1.34.0 · source§

impl From<Infallible> for TryFromIntError

1.68.0 · source§

impl From<bool> for f32

1.68.0 · source§

impl From<bool> for f64

1.28.0 · source§

impl From<bool> for i8

1.28.0 · source§

impl From<bool> for i16

1.28.0 · source§

impl From<bool> for i32

1.28.0 · source§

impl From<bool> for i64

1.28.0 · source§

impl From<bool> for i128

1.28.0 · source§

impl From<bool> for isize

1.28.0 · source§

impl From<bool> for u8

1.28.0 · source§

impl From<bool> for u16

1.28.0 · source§

impl From<bool> for u32

1.28.0 · source§

impl From<bool> for u64

1.28.0 · source§

impl From<bool> for u128

1.28.0 · source§

impl From<bool> for usize

source§

impl From<bool> for BigInt

source§

impl From<bool> for BigUint

1.24.0 · source§

impl From<bool> for AtomicBool

source§

impl From<bool> for Decimal

source§

impl From<bool> for PreciseDecimal

§

impl From<bool> for UntypedValue

1.13.0 · source§

impl From<char> for u32

1.51.0 · source§

impl From<char> for u64

1.51.0 · source§

impl From<char> for u128

1.46.0 · source§

impl From<char> for String

§

impl From<char> for Literal

1.6.0 · source§

impl From<f32> for f64

§

impl From<f32> for F32

§

impl From<f32> for UntypedValue

§

impl From<f64> for F64

§

impl From<f64> for UntypedValue

1.6.0 · source§

impl From<i8> for f32

1.6.0 · source§

impl From<i8> for f64

1.5.0 · source§

impl From<i8> for i16

1.5.0 · source§

impl From<i8> for i32

1.5.0 · source§

impl From<i8> for i64

1.26.0 · source§

impl From<i8> for i128

1.5.0 · source§

impl From<i8> for isize

source§

impl From<i8> for BigInt

1.34.0 · source§

impl From<i8> for AtomicI8

source§

impl From<i8> for Decimal

source§

impl From<i8> for I192

source§

impl From<i8> for I256

source§

impl From<i8> for I320

source§

impl From<i8> for I384

source§

impl From<i8> for I448

source§

impl From<i8> for I512

source§

impl From<i8> for I768

source§

impl From<i8> for PreciseDecimal

§

impl From<i8> for UntypedValue

§

impl From<i8> for Value

1.6.0 · source§

impl From<i16> for f32

1.6.0 · source§

impl From<i16> for f64

1.5.0 · source§

impl From<i16> for i32

1.5.0 · source§

impl From<i16> for i64

1.26.0 · source§

impl From<i16> for i128

1.26.0 · source§

impl From<i16> for isize

source§

impl From<i16> for BigInt

1.34.0 · source§

impl From<i16> for AtomicI16

source§

impl From<i16> for Decimal

source§

impl From<i16> for I192

source§

impl From<i16> for I256

source§

impl From<i16> for I320

source§

impl From<i16> for I384

source§

impl From<i16> for I448

source§

impl From<i16> for I512

source§

impl From<i16> for I768

source§

impl From<i16> for PreciseDecimal

§

impl From<i16> for UntypedValue

§

impl From<i16> for Value

1.6.0 · source§

impl From<i32> for f64

1.5.0 · source§

impl From<i32> for i64

1.26.0 · source§

impl From<i32> for i128

source§

impl From<i32> for BigInt

1.34.0 · source§

impl From<i32> for AtomicI32

source§

impl From<i32> for Decimal

source§

impl From<i32> for I192

source§

impl From<i32> for I256

source§

impl From<i32> for I320

source§

impl From<i32> for I384

source§

impl From<i32> for I448

source§

impl From<i32> for I512

source§

impl From<i32> for I768

source§

impl From<i32> for PreciseDecimal

§

impl From<i32> for UntypedValue

§

impl From<i32> for Value

1.26.0 · source§

impl From<i64> for i128

source§

impl From<i64> for BigInt

1.34.0 · source§

impl From<i64> for AtomicI64

source§

impl From<i64> for Decimal

source§

impl From<i64> for I192

source§

impl From<i64> for I256

source§

impl From<i64> for I320

source§

impl From<i64> for I384

source§

impl From<i64> for I448

source§

impl From<i64> for I512

source§

impl From<i64> for I768

source§

impl From<i64> for PreciseDecimal

§

impl From<i64> for UntypedValue

§

impl From<i64> for Value

source§

impl From<i128> for BigInt

source§

impl From<i128> for Decimal

source§

impl From<i128> for I192

source§

impl From<i128> for I256

source§

impl From<i128> for I320

source§

impl From<i128> for I384

source§

impl From<i128> for I448

source§

impl From<i128> for I512

source§

impl From<i128> for I768

source§

impl From<i128> for PreciseDecimal

source§

impl From<isize> for BigInt

1.23.0 · source§

impl From<isize> for AtomicIsize

source§

impl From<isize> for Decimal

source§

impl From<isize> for I192

source§

impl From<isize> for I256

source§

impl From<isize> for I320

source§

impl From<isize> for I384

source§

impl From<isize> for I448

source§

impl From<isize> for I512

source§

impl From<isize> for I768

source§

impl From<isize> for PreciseDecimal

1.34.0 · source§

impl From<!> for Infallible

source§

impl From<!> for TryFromIntError

source§

impl From<u8> for VersionedFungibleResourceManagerDivisibility

1.13.0 · source§

impl From<u8> for char

Maps a byte in 0x00..=0xFF to a char whose code point has the same value, in U+0000..=U+00FF.

Unicode is designed such that this effectively decodes bytes with the character encoding that IANA calls ISO-8859-1. This encoding is compatible with ASCII.

Note that this is different from ISO/IEC 8859-1 a.k.a. ISO 8859-1 (with one less hyphen), which leaves some “blanks”, byte values that are not assigned to any character. ISO-8859-1 (the IANA one) assigns them to the C0 and C1 control codes.

Note that this is also different from Windows-1252 a.k.a. code page 1252, which is a superset ISO/IEC 8859-1 that assigns some (not all!) blanks to punctuation and various Latin characters.

To confuse things further, on the Web ascii, iso-8859-1, and windows-1252 are all aliases for a superset of Windows-1252 that fills the remaining blanks with corresponding C0 and C1 control codes.

1.6.0 · source§

impl From<u8> for f32

1.6.0 · source§

impl From<u8> for f64

1.5.0 · source§

impl From<u8> for i16

1.5.0 · source§

impl From<u8> for i32

1.5.0 · source§

impl From<u8> for i64

1.26.0 · source§

impl From<u8> for i128

1.26.0 · source§

impl From<u8> for isize

1.5.0 · source§

impl From<u8> for u16

1.5.0 · source§

impl From<u8> for u32

1.5.0 · source§

impl From<u8> for u64

1.26.0 · source§

impl From<u8> for u128

1.5.0 · source§

impl From<u8> for usize

1.61.0 · source§

impl From<u8> for ExitCode

source§

impl From<u8> for curve25519_dalek::scalar::Scalar

source§

impl From<u8> for BigInt

source§

impl From<u8> for BigUint

source§

impl From<u8> for Choice

1.34.0 · source§

impl From<u8> for AtomicU8

source§

impl From<u8> for Decimal

source§

impl From<u8> for I192

source§

impl From<u8> for I256

source§

impl From<u8> for I320

source§

impl From<u8> for I384

source§

impl From<u8> for I448

source§

impl From<u8> for I512

source§

impl From<u8> for I768

source§

impl From<u8> for PreciseDecimal

source§

impl From<u8> for U192

source§

impl From<u8> for U256

source§

impl From<u8> for U320

source§

impl From<u8> for U384

source§

impl From<u8> for U448

source§

impl From<u8> for U512

source§

impl From<u8> for U768

§

impl From<u8> for Literal

§

impl From<u8> for PatternID

§

impl From<u8> for SmallIndex

§

impl From<u8> for StateID

§

impl From<u8> for UntypedValue

§

impl From<u8> for Value

1.6.0 · source§

impl From<u16> for f32

1.6.0 · source§

impl From<u16> for f64

1.5.0 · source§

impl From<u16> for i32

1.5.0 · source§

impl From<u16> for i64

1.26.0 · source§

impl From<u16> for i128

1.5.0 · source§

impl From<u16> for u32

1.5.0 · source§

impl From<u16> for u64

1.26.0 · source§

impl From<u16> for u128

1.26.0 · source§

impl From<u16> for usize

source§

impl From<u16> for curve25519_dalek::scalar::Scalar

source§

impl From<u16> for BigInt

source§

impl From<u16> for BigUint

1.34.0 · source§

impl From<u16> for AtomicU16

source§

impl From<u16> for Decimal

source§

impl From<u16> for I192

source§

impl From<u16> for I256

source§

impl From<u16> for I320

source§

impl From<u16> for I384

source§

impl From<u16> for I448

source§

impl From<u16> for I512

source§

impl From<u16> for I768

source§

impl From<u16> for PreciseDecimal

source§

impl From<u16> for U192

source§

impl From<u16> for U256

source§

impl From<u16> for U320

source§

impl From<u16> for U384

source§

impl From<u16> for U448

source§

impl From<u16> for U512

source§

impl From<u16> for U768

§

impl From<u16> for Pages

§

impl From<u16> for UntypedValue

§

impl From<u16> for Value

1.6.0 · source§

impl From<u32> for f64

1.5.0 · source§

impl From<u32> for i64

1.26.0 · source§

impl From<u32> for i128

1.5.0 · source§

impl From<u32> for u64

1.26.0 · source§

impl From<u32> for u128

1.1.0 · source§

impl From<u32> for Ipv4Addr

source§

impl From<u32> for curve25519_dalek::scalar::Scalar

source§

impl From<u32> for BigInt

source§

impl From<u32> for BigUint

1.34.0 · source§

impl From<u32> for AtomicU32

source§

impl From<u32> for Decimal

source§

impl From<u32> for I192

source§

impl From<u32> for I256

source§

impl From<u32> for I320

source§

impl From<u32> for I384

source§

impl From<u32> for I448

source§

impl From<u32> for I512

source§

impl From<u32> for I768

source§

impl From<u32> for PreciseDecimal

source§

impl From<u32> for U192

source§

impl From<u32> for U256

source§

impl From<u32> for U320

source§

impl From<u32> for U384

source§

impl From<u32> for U448

source§

impl From<u32> for U512

source§

impl From<u32> for U768

§

impl From<u32> for DynamicComponentAddress

§

impl From<u32> for DynamicGlobalAddress

§

impl From<u32> for DynamicPackageAddress

§

impl From<u32> for DynamicResourceAddress

§

impl From<u32> for F32

§

impl From<u32> for UntypedValue

§

impl From<u32> for Value

source§

impl From<u64> for NonFungibleLocalId

1.26.0 · source§

impl From<u64> for i128

1.26.0 · source§

impl From<u64> for u128

source§

impl From<u64> for curve25519_dalek::scalar::Scalar

source§

impl From<u64> for BigInt

source§

impl From<u64> for BigUint

1.34.0 · source§

impl From<u64> for AtomicU64

source§

impl From<u64> for Decimal

source§

impl From<u64> for I192

source§

impl From<u64> for I256

source§

impl From<u64> for I320

source§

impl From<u64> for I384

source§

impl From<u64> for I448

source§

impl From<u64> for I512

source§

impl From<u64> for I768

source§

impl From<u64> for IntegerNonFungibleLocalId

source§

impl From<u64> for PreciseDecimal

source§

impl From<u64> for U192

source§

impl From<u64> for U256

source§

impl From<u64> for U320

source§

impl From<u64> for U384

source§

impl From<u64> for U448

source§

impl From<u64> for U512

source§

impl From<u64> for U768

§

impl From<u64> for F64

§

impl From<u64> for UntypedValue

§

impl From<u64> for Value

1.26.0 · source§

impl From<u128> for Ipv6Addr

source§

impl From<u128> for curve25519_dalek::scalar::Scalar

source§

impl From<u128> for BigInt

source§

impl From<u128> for BigUint

source§

impl From<u128> for Decimal

source§

impl From<u128> for I192

source§

impl From<u128> for I256

source§

impl From<u128> for I320

source§

impl From<u128> for I384

source§

impl From<u128> for I448

source§

impl From<u128> for I512

source§

impl From<u128> for I768

source§

impl From<u128> for PreciseDecimal

source§

impl From<u128> for U192

source§

impl From<u128> for U256

source§

impl From<u128> for U320

source§

impl From<u128> for U384

source§

impl From<u128> for U448

source§

impl From<u128> for U512

source§

impl From<u128> for U768

source§

impl From<()> for VersionedAccountAuthorizedDepositor

source§

impl From<()> for VersionedNonFungibleVaultNonFungible

source§

impl From<usize> for Member

source§

impl From<usize> for BigInt

source§

impl From<usize> for BigUint

source§

impl From<usize> for Index

1.23.0 · source§

impl From<usize> for AtomicUsize

source§

impl From<usize> for Decimal

source§

impl From<usize> for I192

source§

impl From<usize> for I256

source§

impl From<usize> for I320

source§

impl From<usize> for I384

source§

impl From<usize> for I448

source§

impl From<usize> for I512

source§

impl From<usize> for I768

source§

impl From<usize> for PreciseDecimal

source§

impl From<usize> for U192

source§

impl From<usize> for U256

source§

impl From<usize> for U320

source§

impl From<usize> for U384

source§

impl From<usize> for U448

source§

impl From<usize> for U512

source§

impl From<usize> for U768

source§

impl From<AccessControllerSubstate> for VersionedAccessControllerState

source§

impl From<AccountSubstate> for VersionedAccountDepositRule

source§

impl From<ConsensusManagerConfigSubstate> for VersionedConsensusManagerConfiguration

source§

impl From<ConsensusManagerSubstate> for VersionedConsensusManagerState

source§

impl From<CurrentProposalStatisticSubstate> for VersionedConsensusManagerCurrentProposalStatistic

source§

impl From<CurrentValidatorSetSubstate> for VersionedConsensusManagerCurrentValidatorSet

source§

impl From<ProposerMilliTimestampSubstate> for VersionedConsensusManagerProposerMilliTimestamp

source§

impl From<ProposerMinuteTimestampSubstate> for VersionedConsensusManagerProposerMinuteTimestamp

source§

impl From<Validator> for VersionedConsensusManagerRegisteredValidatorByStake

source§

impl From<ValidatorRewardsSubstate> for VersionedConsensusManagerValidatorRewards

source§

impl From<ValidatorProtocolUpdateReadinessSignalSubstate> for VersionedValidatorProtocolUpdateReadinessSignal

source§

impl From<ValidatorSubstate> for VersionedValidatorState

source§

impl From<PackageCodeInstrumentedCodeV1> for VersionedPackageCodeInstrumentedCode

source§

impl From<PackageCodeOriginalCodeV1> for VersionedPackageCodeOriginalCode

source§

impl From<PackageCodeVmTypeV1> for VersionedPackageCodeVmType

source§

impl From<PackageRoyaltyAccumulatorV1> for VersionedPackageRoyaltyAccumulator

source§

impl From<Substate> for VersionedMultiResourcePoolState

source§

impl From<Substate> for VersionedOneResourcePoolState

source§

impl From<Substate> for VersionedTwoResourcePoolState

source§

impl From<NonFungibleResourceManagerMutableFieldsV1> for VersionedNonFungibleResourceManagerMutableFields

source§

impl From<OwnerRoleSubstate> for VersionedRoleAssignmentOwner

source§

impl From<FlashReceipt> for TransactionReceipt

source§

impl From<FeeReserveFinalizationSummary> for TransactionFeeSummary

source§

impl From<LegacyStateUpdates> for StateUpdates

source§

impl From<StateUpdates> for LegacyStateUpdates

source§

impl From<TransactionReceiptV1> for VersionedTransactionReceipt

source§

impl From<AuthConfig> for VersionedPackageBlueprintVersionAuthConfig

source§

impl From<BlueprintDefinition> for VersionedPackageBlueprintVersionDefinition

source§

impl From<BlueprintDependencies> for VersionedPackageBlueprintVersionDependencies

source§

impl From<BlueprintVersionKey> for PackageBlueprintVersionAuthConfigKeyPayload

source§

impl From<BlueprintVersionKey> for PackageBlueprintVersionDefinitionKeyPayload

source§

impl From<BlueprintVersionKey> for PackageBlueprintVersionDependenciesKeyPayload

source§

impl From<BlueprintVersionKey> for PackageBlueprintVersionRoyaltyConfigKeyPayload

source§

impl From<CodeHash> for PackageCodeInstrumentedCodeKeyPayload

source§

impl From<CodeHash> for PackageCodeOriginalCodeKeyPayload

source§

impl From<CodeHash> for PackageCodeVmTypeKeyPayload

source§

impl From<CodeHash> for Hash

1.7.0 · source§

impl From<CString> for Vec<u8>

1.24.0 · source§

impl From<CString> for radix_engine::types::radix_engine_common::prelude::rust::sync::Arc<CStr>

1.20.0 · source§

impl From<CString> for Box<CStr>

1.24.0 · source§

impl From<CString> for Rc<CStr>

source§

impl From<NulError> for std::io::error::Error

source§

impl From<__m128> for Simd<f32, 4>

source§

impl From<__m128d> for Simd<f64, 2>

source§

impl From<__m128i> for Simd<i8, 16>

source§

impl From<__m128i> for Simd<i16, 8>

source§

impl From<__m128i> for Simd<i32, 4>

source§

impl From<__m128i> for Simd<i64, 2>

source§

impl From<__m128i> for Simd<isize, 2>

source§

impl From<__m128i> for Simd<u8, 16>

source§

impl From<__m128i> for Simd<u16, 8>

source§

impl From<__m128i> for Simd<u32, 4>

source§

impl From<__m128i> for Simd<u64, 2>

source§

impl From<__m128i> for Simd<usize, 2>

source§

impl From<__m256> for Simd<f32, 8>

source§

impl From<__m256d> for Simd<f64, 4>

source§

impl From<__m256i> for Simd<i8, 32>

source§

impl From<__m256i> for Simd<i16, 16>

source§

impl From<__m256i> for Simd<i32, 8>

source§

impl From<__m256i> for Simd<i64, 4>

source§

impl From<__m256i> for Simd<isize, 4>

source§

impl From<__m256i> for Simd<u8, 32>

source§

impl From<__m256i> for Simd<u16, 16>

source§

impl From<__m256i> for Simd<u32, 8>

source§

impl From<__m256i> for Simd<u64, 4>

source§

impl From<__m256i> for Simd<usize, 4>

source§

impl From<__m512> for Simd<f32, 16>

source§

impl From<__m512d> for Simd<f64, 8>

source§

impl From<__m512i> for Simd<i8, 64>

source§

impl From<__m512i> for Simd<i16, 32>

source§

impl From<__m512i> for Simd<i32, 16>

source§

impl From<__m512i> for Simd<i64, 8>

source§

impl From<__m512i> for Simd<isize, 8>

source§

impl From<__m512i> for Simd<u8, 64>

source§

impl From<__m512i> for Simd<u16, 32>

source§

impl From<__m512i> for Simd<u32, 16>

source§

impl From<__m512i> for Simd<u64, 8>

source§

impl From<__m512i> for Simd<usize, 8>

source§

impl From<Simd<f32, 4>> for __m128

source§

impl From<Simd<f32, 8>> for __m256

source§

impl From<Simd<f32, 16>> for __m512

source§

impl From<Simd<f64, 2>> for __m128d

source§

impl From<Simd<f64, 4>> for __m256d

source§

impl From<Simd<f64, 8>> for __m512d

source§

impl From<Simd<i8, 16>> for __m128i

source§

impl From<Simd<i8, 32>> for __m256i

source§

impl From<Simd<i8, 64>> for __m512i

source§

impl From<Simd<i16, 8>> for __m128i

source§

impl From<Simd<i16, 16>> for __m256i

source§

impl From<Simd<i16, 32>> for __m512i

source§

impl From<Simd<i32, 4>> for __m128i

source§

impl From<Simd<i32, 8>> for __m256i

source§

impl From<Simd<i32, 16>> for __m512i

source§

impl From<Simd<i64, 2>> for __m128i

source§

impl From<Simd<i64, 4>> for __m256i

source§

impl From<Simd<i64, 8>> for __m512i

source§

impl From<Simd<isize, 2>> for __m128i

source§

impl From<Simd<isize, 4>> for __m256i

source§

impl From<Simd<isize, 8>> for __m512i

source§

impl From<Simd<u8, 16>> for __m128i

source§

impl From<Simd<u8, 32>> for __m256i

source§

impl From<Simd<u8, 64>> for __m512i

source§

impl From<Simd<u16, 8>> for __m128i

source§

impl From<Simd<u16, 16>> for __m256i

source§

impl From<Simd<u16, 32>> for __m512i

source§

impl From<Simd<u32, 4>> for __m128i

source§

impl From<Simd<u32, 8>> for __m256i

source§

impl From<Simd<u32, 16>> for __m512i

source§

impl From<Simd<u64, 2>> for __m128i

source§

impl From<Simd<u64, 4>> for __m256i

source§

impl From<Simd<u64, 8>> for __m512i

source§

impl From<Simd<usize, 2>> for __m128i

source§

impl From<Simd<usize, 4>> for __m256i

source§

impl From<Simd<usize, 8>> for __m512i

1.16.0 · source§

impl From<Ipv4Addr> for IpAddr

1.1.0 · source§

impl From<Ipv4Addr> for u32

1.16.0 · source§

impl From<Ipv6Addr> for IpAddr

1.26.0 · source§

impl From<Ipv6Addr> for u128

1.16.0 · source§

impl From<SocketAddrV4> for SocketAddr

1.16.0 · source§

impl From<SocketAddrV6> for SocketAddr

source§

impl From<StreamResult> for Result<MZStatus, MZError>

1.29.0 · source§

impl From<Group> for proc_macro::TokenTree

1.29.0 · source§

impl From<Ident> for proc_macro::TokenTree

1.29.0 · source§

impl From<Literal> for proc_macro::TokenTree

1.29.0 · source§

impl From<Punct> for proc_macro::TokenTree

source§

impl From<Span> for proc_macro2::Span

source§

impl From<TokenStream> for proc_macro2::TokenStream

source§

impl From<OsString> for PathBuf

1.24.0 · source§

impl From<OsString> for radix_engine::types::radix_engine_common::prelude::rust::sync::Arc<OsStr>

1.20.0 · source§

impl From<OsString> for Box<OsStr>

1.24.0 · source§

impl From<OsString> for Rc<OsStr>

1.63.0 · source§

impl From<File> for OwnedFd

1.20.0 · source§

impl From<File> for Stdio

source§

impl From<Error> for getrandom::error::Error

§

impl From<Error> for DumpManifestError

§

impl From<Error> for Error

1.74.0 · source§

impl From<Stderr> for Stdio

1.74.0 · source§

impl From<Stdout> for Stdio

1.63.0 · source§

impl From<TcpListener> for OwnedFd

1.63.0 · source§

impl From<TcpStream> for OwnedFd

1.63.0 · source§

impl From<UdpSocket> for OwnedFd

1.63.0 · source§

impl From<OwnedFd> for File

1.63.0 · source§

impl From<OwnedFd> for TcpListener

1.63.0 · source§

impl From<OwnedFd> for TcpStream

1.63.0 · source§

impl From<OwnedFd> for UdpSocket

source§

impl From<OwnedFd> for PidFd

1.63.0 · source§

impl From<OwnedFd> for UnixDatagram

1.63.0 · source§

impl From<OwnedFd> for UnixListener

1.63.0 · source§

impl From<OwnedFd> for UnixStream

1.74.0 · source§

impl From<OwnedFd> for ChildStderr

Create a ChildStderr from the provided OwnedFd.

The provided file descriptor must point to a pipe with the CLOEXEC flag set.

1.74.0 · source§

impl From<OwnedFd> for ChildStdin

Create a ChildStdin from the provided OwnedFd.

The provided file descriptor must point to a pipe with the CLOEXEC flag set.

1.74.0 · source§

impl From<OwnedFd> for ChildStdout

Create a ChildStdout from the provided OwnedFd.

The provided file descriptor must point to a pipe with the CLOEXEC flag set.

1.63.0 · source§

impl From<OwnedFd> for Stdio

source§

impl From<PidFd> for OwnedFd

1.63.0 · source§

impl From<UnixDatagram> for OwnedFd

1.63.0 · source§

impl From<UnixListener> for OwnedFd

1.63.0 · source§

impl From<UnixStream> for OwnedFd

1.14.0 · source§

impl From<PathBuf> for OsString

1.24.0 · source§

impl From<PathBuf> for radix_engine::types::radix_engine_common::prelude::rust::sync::Arc<Path>

1.20.0 · source§

impl From<PathBuf> for Box<Path>

1.24.0 · source§

impl From<PathBuf> for Rc<Path>

1.63.0 · source§

impl From<ChildStderr> for OwnedFd

1.20.0 · source§

impl From<ChildStderr> for Stdio

1.63.0 · source§

impl From<ChildStdin> for OwnedFd

1.20.0 · source§

impl From<ChildStdin> for Stdio

1.63.0 · source§

impl From<ChildStdout> for OwnedFd

1.20.0 · source§

impl From<ChildStdout> for Stdio

source§

impl From<ExitStatusError> for ExitStatus

source§

impl From<Error> for Box<dyn Error + Send + Sync>

source§

impl From<Error> for Box<dyn Error + Send>

source§

impl From<Error> for Box<dyn Error>

source§

impl From<BigUint> for BigInt

source§

impl From<TokenStream> for proc_macro::TokenStream

source§

impl From<Group> for proc_macro2::TokenTree

source§

impl From<Ident> for proc_macro2::TokenTree

source§

impl From<Ident> for Member

source§

impl From<Ident> for TypeParam

source§

impl From<LexError> for syn::error::Error

source§

impl From<Literal> for proc_macro2::TokenTree

source§

impl From<Literal> for LitFloat

source§

impl From<Literal> for LitInt

source§

impl From<Punct> for proc_macro2::TokenTree

source§

impl From<TokenStream> for proc_macro::TokenStream

source§

impl From<Choice> for bool

source§

impl From<MetaList> for Meta

source§

impl From<MetaNameValue> for Meta

source§

impl From<FieldsNamed> for Fields

source§

impl From<FieldsUnnamed> for Fields

source§

impl From<VisCrate> for Visibility

source§

impl From<VisPublic> for Visibility

source§

impl From<VisRestricted> for Visibility

source§

impl From<DataEnum> for Data

source§

impl From<DataStruct> for Data

source§

impl From<DataUnion> for Data

source§

impl From<DeriveInput> for Item

source§

impl From<ExprArray> for Expr

source§

impl From<ExprAssign> for Expr

source§

impl From<ExprAssignOp> for Expr

source§

impl From<ExprAsync> for Expr

source§

impl From<ExprAwait> for Expr

source§

impl From<ExprBinary> for Expr

source§

impl From<ExprBlock> for Expr

source§

impl From<ExprBox> for Expr

source§

impl From<ExprBreak> for Expr

source§

impl From<ExprCall> for Expr

source§

impl From<ExprCast> for Expr

source§

impl From<ExprClosure> for Expr

source§

impl From<ExprContinue> for Expr

source§

impl From<ExprField> for Expr

source§

impl From<ExprForLoop> for Expr

source§

impl From<ExprGroup> for Expr

source§

impl From<ExprIf> for Expr

source§

impl From<ExprIndex> for Expr

source§

impl From<ExprLet> for Expr

source§

impl From<ExprLit> for Expr

source§

impl From<ExprLoop> for Expr

source§

impl From<ExprMacro> for Expr

source§

impl From<ExprMatch> for Expr

source§

impl From<ExprMethodCall> for Expr

source§

impl From<ExprParen> for Expr

source§

impl From<ExprPath> for Expr

source§

impl From<ExprRange> for Expr

source§

impl From<ExprReference> for Expr

source§

impl From<ExprRepeat> for Expr

source§

impl From<ExprReturn> for Expr

source§

impl From<ExprStruct> for Expr

source§

impl From<ExprTry> for Expr

source§

impl From<ExprTryBlock> for Expr

source§

impl From<ExprTuple> for Expr

source§

impl From<ExprType> for Expr

source§

impl From<ExprUnary> for Expr

source§

impl From<ExprUnsafe> for Expr

source§

impl From<ExprWhile> for Expr

source§

impl From<ExprYield> for Expr

source§

impl From<Index> for Member

source§

impl From<ConstParam> for GenericParam

source§

impl From<LifetimeDef> for GenericParam

source§

impl From<PredicateEq> for WherePredicate

source§

impl From<PredicateLifetime> for WherePredicate

source§

impl From<PredicateType> for WherePredicate

source§

impl From<TraitBound> for TypeParamBound

source§

impl From<TypeParam> for GenericParam

source§

impl From<ForeignItemFn> for ForeignItem

source§

impl From<ForeignItemMacro> for ForeignItem

source§

impl From<ForeignItemStatic> for ForeignItem

source§

impl From<ForeignItemType> for ForeignItem

source§

impl From<ImplItemConst> for ImplItem

source§

impl From<ImplItemMacro> for ImplItem

source§

impl From<ImplItemMethod> for ImplItem

source§

impl From<ImplItemType> for ImplItem

source§

impl From<ItemConst> for Item

source§

impl From<ItemEnum> for Item

source§

impl From<ItemEnum> for DeriveInput

source§

impl From<ItemExternCrate> for Item

source§

impl From<ItemFn> for Item

source§

impl From<ItemForeignMod> for Item

source§

impl From<ItemImpl> for Item

source§

impl From<ItemMacro2> for Item

source§

impl From<ItemMacro> for Item

source§

impl From<ItemMod> for Item

source§

impl From<ItemStatic> for Item

source§

impl From<ItemStruct> for Item

source§

impl From<ItemStruct> for DeriveInput

source§

impl From<ItemTrait> for Item

source§

impl From<ItemTraitAlias> for Item

source§

impl From<ItemType> for Item

source§

impl From<ItemUnion> for Item

source§

impl From<ItemUnion> for DeriveInput

source§

impl From<ItemUse> for Item

source§

impl From<Receiver> for FnArg

source§

impl From<TraitItemConst> for TraitItem

source§

impl From<TraitItemMacro> for TraitItem

source§

impl From<TraitItemMethod> for TraitItem

source§

impl From<TraitItemType> for TraitItem

source§

impl From<UseGlob> for UseTree

source§

impl From<UseGroup> for UseTree

source§

impl From<UseName> for UseTree

source§

impl From<UsePath> for UseTree

source§

impl From<UseRename> for UseTree

source§

impl From<Lifetime> for TypeParamBound

source§

impl From<LitBool> for Lit

source§

impl From<LitByte> for Lit

source§

impl From<LitByteStr> for Lit

source§

impl From<LitChar> for Lit

source§

impl From<LitFloat> for Lit

source§

impl From<LitInt> for Lit

source§

impl From<LitStr> for Lit

source§

impl From<PatBox> for Pat

source§

impl From<PatIdent> for Pat

source§

impl From<PatLit> for Pat

source§

impl From<PatMacro> for Pat

source§

impl From<PatOr> for Pat

source§

impl From<PatPath> for Pat

source§

impl From<PatRange> for Pat

source§

impl From<PatReference> for Pat

source§

impl From<PatRest> for Pat

source§

impl From<PatSlice> for Pat

source§

impl From<PatStruct> for Pat

source§

impl From<PatTuple> for Pat

source§

impl From<PatTupleStruct> for Pat

source§

impl From<PatType> for FnArg

source§

impl From<PatType> for Pat

source§

impl From<PatWild> for Pat

source§

impl From<Path> for Meta

source§

impl From<Crate> for Ident

source§

impl From<Extern> for Ident

source§

impl From<SelfType> for Ident

source§

impl From<SelfValue> for Ident

source§

impl From<Super> for Ident

source§

impl From<Underscore> for Ident

source§

impl From<TypeArray> for Type

source§

impl From<TypeBareFn> for Type

source§

impl From<TypeGroup> for Type

source§

impl From<TypeImplTrait> for Type

source§

impl From<TypeInfer> for Type

source§

impl From<TypeMacro> for Type

source§

impl From<TypeNever> for Type

source§

impl From<TypeParen> for Type

source§

impl From<TypePath> for Type

source§

impl From<TypePtr> for Type

source§

impl From<TypeReference> for Type

source§

impl From<TypeSlice> for Type

source§

impl From<TypeTraitObject> for Type

source§

impl From<TypeTuple> for Type

source§

impl From<Braced> for Uuid

source§

impl From<Hyphenated> for Uuid

source§

impl From<Simple> for Uuid

source§

impl From<Urn> for Uuid

source§

impl From<Uuid> for Braced

source§

impl From<Uuid> for Hyphenated

source§

impl From<Uuid> for Simple

source§

impl From<Uuid> for Urn

source§

impl From<Uuid> for Vec<u8>

source§

impl From<Uuid> for String

source§

impl From<Error> for std::io::error::Error

source§

impl From<Error> for rand_core::error::Error

source§

impl From<ChaCha8Core> for ChaCha8Rng

source§

impl From<ChaCha12Core> for ChaCha12Rng

source§

impl From<ChaCha20Core> for ChaCha20Rng

source§

impl From<Error> for std::io::error::Error

source§

impl From<CheckedOrigin> for UncheckedOrigin

source§

impl From<CheckedUrl> for UncheckedUrl

source§

impl From<Vec<&str>> for RoleList

§

impl From<Vec<u8>> for RawFlashTransaction

§

impl From<Vec<u8>> for RawIntent

§

impl From<Vec<u8>> for RawNotarizedTransaction

§

impl From<Vec<u8>> for RawSignedIntent

§

impl From<Vec<u8>> for RawSystemTransaction

source§

impl From<Vec<u32>> for IndexVec

source§

impl From<Vec<usize>> for IndexVec

1.43.0 · source§

impl From<Vec<NonZero<u8>>> for CString

source§

impl From<Vec<String>> for RoleList

source§

impl From<ComponentRoyaltySubstate> for VersionedComponentRoyaltyAccumulator

source§

impl From<Error> for FormattingError

§

impl From<Error> for DecompileError

§

impl From<Error> for TransactionHashBech32EncodeError

source§

impl From<LayoutError> for TryReserveErrorKind

§

impl From<LayoutError> for CollectionAllocErr

1.31.0 · source§

impl From<NonZero<i8>> for i8

1.41.0 · source§

impl From<NonZero<i8>> for NonZero<i16>

1.41.0 · source§

impl From<NonZero<i8>> for NonZero<i32>

1.41.0 · source§

impl From<NonZero<i8>> for NonZero<i64>

1.41.0 · source§

impl From<NonZero<i8>> for NonZero<i128>

1.41.0 · source§

impl From<NonZero<i8>> for NonZero<isize>

1.31.0 · source§

impl From<NonZero<i16>> for i16

1.41.0 · source§

impl From<NonZero<i16>> for NonZero<i32>

1.41.0 · source§

impl From<NonZero<i16>> for NonZero<i64>

1.41.0 · source§

impl From<NonZero<i16>> for NonZero<i128>

1.41.0 · source§

impl From<NonZero<i16>> for NonZero<isize>

1.31.0 · source§

impl From<NonZero<i32>> for i32

1.41.0 · source§

impl From<NonZero<i32>> for NonZero<i64>

1.41.0 · source§

impl From<NonZero<i32>> for NonZero<i128>

1.31.0 · source§

impl From<NonZero<i64>> for i64

1.41.0 · source§

impl From<NonZero<i64>> for NonZero<i128>

1.31.0 · source§

impl From<NonZero<i128>> for i128

1.31.0 · source§

impl From<NonZero<isize>> for isize

1.31.0 · source§

impl From<NonZero<u8>> for u8

1.41.0 · source§

impl From<NonZero<u8>> for NonZero<i16>

1.41.0 · source§

impl From<NonZero<u8>> for NonZero<i32>

1.41.0 · source§

impl From<NonZero<u8>> for NonZero<i64>

1.41.0 · source§

impl From<NonZero<u8>> for NonZero<i128>

1.41.0 · source§

impl From<NonZero<u8>> for NonZero<isize>

1.41.0 · source§

impl From<NonZero<u8>> for NonZero<u16>

1.41.0 · source§

impl From<NonZero<u8>> for NonZero<u32>

1.41.0 · source§

impl From<NonZero<u8>> for NonZero<u64>

1.41.0 · source§

impl From<NonZero<u8>> for NonZero<u128>

1.41.0 · source§

impl From<NonZero<u8>> for NonZero<usize>

1.31.0 · source§

impl From<NonZero<u16>> for u16

1.41.0 · source§

impl From<NonZero<u16>> for NonZero<i32>

1.41.0 · source§

impl From<NonZero<u16>> for NonZero<i64>

1.41.0 · source§

impl From<NonZero<u16>> for NonZero<i128>

1.41.0 · source§

impl From<NonZero<u16>> for NonZero<u32>

1.41.0 · source§

impl From<NonZero<u16>> for NonZero<u64>

1.41.0 · source§

impl From<NonZero<u16>> for NonZero<u128>

1.41.0 · source§

impl From<NonZero<u16>> for NonZero<usize>

1.31.0 · source§

impl From<NonZero<u32>> for u32

source§

impl From<NonZero<u32>> for getrandom::error::Error

source§

impl From<NonZero<u32>> for getrandom::error::Error

source§

impl From<NonZero<u32>> for rand_core::error::Error

1.41.0 · source§

impl From<NonZero<u32>> for NonZero<i64>

1.41.0 · source§

impl From<NonZero<u32>> for NonZero<i128>

1.41.0 · source§

impl From<NonZero<u32>> for NonZero<u64>

1.41.0 · source§

impl From<NonZero<u32>> for NonZero<u128>

1.31.0 · source§

impl From<NonZero<u64>> for u64

1.41.0 · source§

impl From<NonZero<u64>> for NonZero<i128>

1.41.0 · source§

impl From<NonZero<u64>> for NonZero<u128>

1.31.0 · source§

impl From<NonZero<u128>> for u128

1.31.0 · source§

impl From<NonZero<usize>> for usize

source§

impl From<ParseIntError> for ParseUtcDateTimeError

§

impl From<Range<usize>> for Span

source§

impl From<Alignment> for usize

source§

impl From<Alignment> for NonZero<usize>

1.24.0 · source§

impl From<RecvError> for radix_engine::types::radix_engine_common::prelude::rust::sync::mpsc::RecvTimeoutError

1.24.0 · source§

impl From<RecvError> for radix_engine::types::radix_engine_common::prelude::rust::sync::mpsc::TryRecvError

1.62.0 · source§

impl From<Arc<str>> for radix_engine::types::radix_engine_common::prelude::rust::sync::Arc<[u8]>

source§

impl From<BTreeMap<String, GenericMetadataValue<UncheckedUrl, UncheckedOrigin>>> for KeyValueStoreInit<String, GenericMetadataValue<UncheckedUrl, UncheckedOrigin>>

source§

impl From<BlueprintId> for GlobalCaller

1.18.0 · source§

impl From<Box<str>> for String

1.18.0 · source§

impl From<Box<CStr>> for CString

1.18.0 · source§

impl From<Box<OsStr>> for OsString

1.18.0 · source§

impl From<Box<Path>> for PathBuf

§

impl From<Box<dyn Error + Send + Sync>> for Error

source§

impl From<BytesNonFungibleLocalId> for NonFungibleLocalId

source§

impl From<ComponentAddress> for ManifestAddress

source§

impl From<ComponentAddress> for GlobalAddress

source§

impl From<ComponentAddress> for NodeId

source§

impl From<ComponentAddress> for Reference

§

impl From<ComponentAddress> for DynamicComponentAddress

§

impl From<ComponentAddress> for DynamicGlobalAddress

source§

impl From<Decimal> for VersionedFungibleResourceManagerTotalSupply

source§

impl From<Decimal> for VersionedNonFungibleResourceManagerTotalSupply

source§

impl From<Decimal> for PreciseDecimal

§

impl From<Ed25519PrivateKey> for PrivateKey

source§

impl From<Ed25519PublicKey> for radix_engine::types::PublicKey

source§

impl From<Ed25519PublicKeyHash> for PublicKeyHash

§

impl From<Ed25519Signature> for SignatureV1

source§

impl From<FungibleBucket> for Bucket

source§

impl From<FungibleProof> for Proof

source§

impl From<FungibleVault> for Vault

source§

impl From<GlobalAddress> for ManifestAddress

source§

impl From<GlobalAddress> for NodeId

source§

impl From<GlobalAddress> for Reference

§

impl From<GlobalAddress> for DynamicGlobalAddress

source§

impl From<Hash> for CodeHash

source§

impl From<Hash> for Vec<u8>

source§

impl From<Hash> for SchemaHash

§

impl From<Hash> for FlashTransactionHash

§

impl From<Hash> for IntentHash

§

impl From<Hash> for NotarizedTransactionHash

§

impl From<Hash> for SignedIntentHash

§

impl From<Hash> for SystemTransactionHash

source§

impl From<I192> for BigInt

source§

impl From<I192> for I256

source§

impl From<I192> for I320

source§

impl From<I192> for I384

source§

impl From<I192> for I448

source§

impl From<I192> for I512

source§

impl From<I192> for I768

source§

impl From<I256> for BigInt

source§

impl From<I256> for I320

source§

impl From<I256> for I384

source§

impl From<I256> for I448

source§

impl From<I256> for I512

source§

impl From<I256> for I768

source§

impl From<I320> for BigInt

source§

impl From<I320> for I384

source§

impl From<I320> for I448

source§

impl From<I320> for I512

source§

impl From<I320> for I768

source§

impl From<I384> for BigInt

source§

impl From<I384> for I448

source§

impl From<I384> for I512

source§

impl From<I384> for I768

source§

impl From<I448> for BigInt

source§

impl From<I448> for I512

source§

impl From<I448> for I768

source§

impl From<I512> for BigInt

source§

impl From<I512> for I768

source§

impl From<I768> for BigInt

source§

impl From<IntegerNonFungibleLocalId> for NonFungibleLocalId

source§

impl From<InternalAddress> for ManifestAddress

source§

impl From<InternalAddress> for NodeId

source§

impl From<InternalAddress> for Reference

source§

impl From<LiquidFungibleResource> for VersionedFungibleVaultBalance

source§

impl From<LiquidNonFungibleVault> for VersionedNonFungibleVaultBalance

source§

impl From<LockedFungibleResource> for VersionedFungibleVaultLockedBalance

source§

impl From<LockedNonFungibleResource> for VersionedNonFungibleVaultLockedResource

source§

impl From<ManifestArgs> for radix_engine::types::Value<ManifestCustomValueKind, ManifestCustomValue>

source§

impl From<ModuleRoleKey> for RoleAssignmentAccessRuleKeyPayload

source§

impl From<NonFungibleBucket> for Bucket

source§

impl From<NonFungibleGlobalId> for AccessRuleNode

source§

impl From<NonFungibleGlobalId> for ResourceOrNonFungible

source§

impl From<NonFungibleProof> for Proof

source§

impl From<NonFungibleVault> for Vault

source§

impl From<Own> for NodeId

source§

impl From<PackageAddress> for ManifestAddress

source§

impl From<PackageAddress> for GlobalAddress

source§

impl From<PackageAddress> for NodeId

source§

impl From<PackageAddress> for Reference

§

impl From<PackageAddress> for DynamicGlobalAddress

§

impl From<PackageAddress> for DynamicPackageAddress

source§

impl From<RUIDNonFungibleLocalId> for NonFungibleLocalId

1.62.0 · source§

impl From<Rc<str>> for Rc<[u8]>

source§

impl From<Reference> for NodeId

source§

impl From<ResourceAddress> for AccessRuleNode

source§

impl From<ResourceAddress> for ManifestAddress

source§

impl From<ResourceAddress> for ResourceOrNonFungible

source§

impl From<ResourceAddress> for AccountResourcePreferenceKeyPayload

source§

impl From<ResourceAddress> for AccountResourceVaultKeyPayload

source§

impl From<ResourceAddress> for GlobalAddress

source§

impl From<ResourceAddress> for NodeId

source§

impl From<ResourceAddress> for Reference

§

impl From<ResourceAddress> for DynamicGlobalAddress

§

impl From<ResourceAddress> for DynamicResourceAddress

source§

impl From<RoleList> for MethodAccessibility

source§

impl From<SborPath> for SborPathBuf

source§

impl From<SborPathBuf> for SborPath

source§

impl From<SchemaHash> for PackageSchemaKeyPayload

source§

impl From<SchemaHash> for Hash

§

impl From<Secp256k1PrivateKey> for PrivateKey

source§

impl From<Secp256k1PublicKey> for radix_engine::types::PublicKey

source§

impl From<Secp256k1PublicKey> for GenesisValidator

source§

impl From<Secp256k1PublicKeyHash> for PublicKeyHash

§

impl From<Secp256k1Signature> for SignatureV1

§

impl From<Secp256k1Signature> for SignatureWithPublicKeyV1

source§

impl From<String> for MetadataEntryKeyPayload

source§

impl From<String> for ComponentRoyaltyMethodAmountKeyPayload

source§

impl From<String> for OsString

source§

impl From<String> for PathBuf

1.14.0 · source§

impl From<String> for Vec<u8>

1.21.0 · source§

impl From<String> for radix_engine::types::radix_engine_common::prelude::rust::sync::Arc<str>

1.20.0 · source§

impl From<String> for Box<str>

source§

impl From<String> for Box<dyn Error + Send + Sync>

1.6.0 · source§

impl From<String> for Box<dyn Error>

1.21.0 · source§

impl From<String> for Rc<str>

source§

impl From<String> for RoleKey

§

impl From<String> for Arc<str>

§

impl From<String> for Color

§

impl From<String> for ColoredString

source§

impl From<StringNonFungibleLocalId> for NonFungibleLocalId

source§

impl From<U192> for BigInt

source§

impl From<U192> for I256

source§

impl From<U192> for I320

source§

impl From<U192> for I384

source§

impl From<U192> for I448

source§

impl From<U192> for I512

source§

impl From<U192> for I768

source§

impl From<U192> for U256

source§

impl From<U192> for U320

source§

impl From<U192> for U384

source§

impl From<U192> for U448

source§

impl From<U192> for U512

source§

impl From<U192> for U768

source§

impl From<U256> for BigInt

source§

impl From<U256> for I320

source§

impl From<U256> for I384

source§

impl From<U256> for I448

source§

impl From<U256> for I512

source§

impl From<U256> for I768

source§

impl From<U256> for U320

source§

impl From<U256> for U384

source§

impl From<U256> for U448

source§

impl From<U256> for U512

source§

impl From<U256> for U768

source§

impl From<U320> for BigInt

source§

impl From<U320> for I384

source§

impl From<U320> for I448

source§

impl From<U320> for I512

source§

impl From<U320> for I768

source§

impl From<U320> for U384

source§

impl From<U320> for U448

source§

impl From<U320> for U512

source§

impl From<U320> for U768

source§

impl From<U384> for BigInt

source§

impl From<U384> for I448

source§

impl From<U384> for I512

source§

impl From<U384> for I768

source§

impl From<U384> for U448

source§

impl From<U384> for U512

source§

impl From<U384> for U768

source§

impl From<U448> for BigInt

source§

impl From<U448> for I512

source§

impl From<U448> for I768

source§

impl From<U448> for U512

source§

impl From<U448> for U768

source§

impl From<U512> for BigInt

source§

impl From<U512> for I768

source§

impl From<U512> for U768

source§

impl From<U768> for BigInt

source§

impl From<UtcDateTime> for Instant

source§

impl From<Vault> for VersionedAccountResourceVault

source§

impl From<VaultFrozenFlag> for VersionedFungibleVaultFreezeStatus

source§

impl From<VaultFrozenFlag> for VersionedNonFungibleVaultFreezeStatus

source§

impl From<WellKnownTypeId> for LocalTypeId

source§

impl From<WellKnownTypeId> for RustTypeId

source§

impl From<BLST_ERROR> for ParseBlsPublicKeyError

source§

impl From<BLST_ERROR> for ParseBlsSignatureError

§

impl From<BinaryReaderError> for ModuleError

§

impl From<BinaryReaderError> for ModuleInfoError

§

impl From<BinaryReaderError> for TranslatorError

§

impl From<Bytes> for usize

§

impl From<ColoredString> for Box<dyn Error>

§

impl From<ComponentSectionId> for u8

§

impl From<DecompileError> for DumpManifestError

§

impl From<DynamicComponentAddress> for DynamicGlobalAddress

§

impl From<DynamicPackageAddress> for DynamicGlobalAddress

§

impl From<DynamicResourceAddress> for DynamicGlobalAddress

source§

impl From<Error> for InvokeError<WasmRuntimeError>

§

impl From<Error> for Error

§

impl From<Error> for Error

§

impl From<Error> for TransactionHashBech32EncodeError

§

impl From<F32> for f32

§

impl From<F32> for u32

§

impl From<F32> for UntypedValue

§

impl From<F32> for Value

§

impl From<F64> for f64

§

impl From<F64> for u64

§

impl From<F64> for UntypedValue

§

impl From<F64> for Value

§

impl From<FlashTransactionHash> for Hash

§

impl From<Func> for Extern

§

impl From<FuncError> for Error

§

impl From<FuncType> for ExternType

§

impl From<Global> for Extern

§

impl From<GlobalError> for Error

§

impl From<GlobalError> for InstantiationError

§

impl From<GlobalType> for EntityType

§

impl From<GlobalType> for ExternType

§

impl From<InstantiationError> for Error

§

impl From<Instruction> for InstructionDiscriminants

§

impl From<IntentHash> for Hash

§

impl From<InternalError> for Error

§

impl From<InternalSignature> for Signature

§

impl From<InvalidMessageError> for TransactionValidationError

§

impl From<InvalidParityValue> for Error

§

impl From<KebabName> for String

§

impl From<KebabString> for String

§

impl From<KeyPair> for PublicKey

§

impl From<KeyPair> for SecretKey

§

impl From<LinkerError> for Error

§

impl From<Memory> for Extern

§

impl From<MemoryError> for Error

§

impl From<MemoryError> for InstantiationError

§

impl From<MemoryError> for LinkerError

§

impl From<MemoryType> for EntityType

§

impl From<MemoryType> for ExternType

§

impl From<ModuleError> for Error

§

impl From<ModuleInfoError> for anyhow::Error

§

impl From<NotarizedTransactionHash> for Hash

§

impl From<Pages> for u32

§

impl From<Parity> for i32

The conversion returns 0 for even parity and 1 for odd.

§

impl From<Parity> for u8

The conversion returns 0 for even parity and 1 for odd.

§

impl From<PrepareError> for TransactionValidationError

§

impl From<PrimitiveValType> for ComponentValType

§

impl From<PublicKey> for PublicKey

Creates a new public key from a FFI public key

§

impl From<PublicKey> for XOnlyPublicKey

§

impl From<RawFlashTransaction> for Vec<u8>

§

impl From<RawIntent> for Vec<u8>

§

impl From<RawNotarizedTransaction> for Vec<u8>

§

impl From<RawSignedIntent> for Vec<u8>

§

impl From<RawSystemTransaction> for Vec<u8>

§

impl From<ReadError> for ModuleError

§

impl From<RecoverableSignature> for RecoverableSignature

Creates a new recoverable signature from a FFI one.

§

impl From<RecvError> for RecvTimeoutError

§

impl From<RecvError> for TryRecvError

§

impl From<RefType> for ValType

§

impl From<RefType> for ValType

§

impl From<SecretKey> for Scalar

§

impl From<SectionId> for u8

§

impl From<Signature> for Signature

Creates a new signature from a FFI signature

§

impl From<Signature> for [u8; 64]

§

impl From<SignedIntentHash> for Hash

§

impl From<Span> for Range<usize>

§

impl From<SystemTransactionHash> for Hash

§

impl From<Table> for Extern

§

impl From<TableError> for Error

§

impl From<TableError> for InstantiationError

§

impl From<TableError> for LinkerError

§

impl From<TableType> for EntityType

§

impl From<TableType> for ExternType

§

impl From<TagType> for EntityType

§

impl From<TransactionValidationError> for DumpManifestError

§

impl From<TranslationError> for ModuleError

§

impl From<TranslatorError> for anyhow::Error

§

impl From<TranslatorError> for ModuleInfoError

§

impl From<Trap> for Error

§

impl From<TrapCode> for Trap

§

impl From<UntypedValue> for bool

§

impl From<UntypedValue> for f32

§

impl From<UntypedValue> for f64

§

impl From<UntypedValue> for i8

§

impl From<UntypedValue> for i16

§

impl From<UntypedValue> for i32

§

impl From<UntypedValue> for i64

§

impl From<UntypedValue> for u8

§

impl From<UntypedValue> for u16

§

impl From<UntypedValue> for u32

§

impl From<UntypedValue> for u64

§

impl From<UntypedValue> for F32

§

impl From<UntypedValue> for F64

§

impl From<Value> for UntypedValue

§

impl From<XOnlyPublicKey> for XOnlyPublicKey

Creates a new Schnorr public key from a FFI x-only public key.

1.17.0 · source§

impl From<[u8; 4]> for IpAddr

1.9.0 · source§

impl From<[u8; 4]> for Ipv4Addr

1.17.0 · source§

impl From<[u8; 16]> for IpAddr

1.9.0 · source§

impl From<[u8; 16]> for Ipv6Addr

source§

impl From<[u8; 30]> for NodeId

source§

impl From<[u8; 32]> for NonFungibleLocalId

source§

impl From<[u8; 32]> for RUIDNonFungibleLocalId

§

impl From<[u8; 64]> for Signature

DEPRECATED: use TryFrom<&[u8]> instead.

§Warning

This conversion will panic if a signature is invalid.

1.17.0 · source§

impl From<[u16; 8]> for IpAddr

1.16.0 · source§

impl From<[u16; 8]> for Ipv6Addr

§

impl From<[u32; 4]> for vec128_storage

§

impl From<[u64; 4]> for vec256_storage

§

impl From<u5> for u8

§

impl From<vec128_storage> for [u32; 4]

§

impl From<vec128_storage> for [u64; 2]

§

impl From<vec128_storage> for [u128; 1]

§

impl From<vec256_storage> for [u32; 8]

§

impl From<vec256_storage> for [u64; 4]

§

impl From<vec256_storage> for [u128; 2]

§

impl From<vec512_storage> for [u32; 16]

§

impl From<vec512_storage> for [u64; 8]

§

impl From<vec512_storage> for [u128; 4]

source§

impl<'_derivative_strum> From<&'_derivative_strum EntityType> for &'static str

§

impl<'_enum> From<&'_enum Instruction> for InstructionDiscriminants

source§

impl<'a> From<&'a str> for Cow<'a, str>

§

impl<'a> From<&'a str> for Color

§

impl<'a> From<&'a str> for ColoredString

1.28.0 · source§

impl<'a> From<&'a CString> for Cow<'a, CStr>

1.28.0 · source§

impl<'a> From<&'a CStr> for Cow<'a, CStr>

1.28.0 · source§

impl<'a> From<&'a OsStr> for Cow<'a, OsStr>

1.28.0 · source§

impl<'a> From<&'a OsString> for Cow<'a, OsStr>

1.6.0 · source§

impl<'a> From<&'a Path> for Cow<'a, Path>

1.28.0 · source§

impl<'a> From<&'a PathBuf> for Cow<'a, Path>

source§

impl<'a> From<&'a EdwardsBasepointTableRadix16> for EdwardsBasepointTableRadix32

source§

impl<'a> From<&'a EdwardsBasepointTableRadix16> for EdwardsBasepointTableRadix64

source§

impl<'a> From<&'a EdwardsBasepointTableRadix16> for EdwardsBasepointTableRadix128

source§

impl<'a> From<&'a EdwardsBasepointTableRadix16> for EdwardsBasepointTableRadix256

source§

impl<'a> From<&'a EdwardsBasepointTableRadix32> for EdwardsBasepointTableRadix16

source§

impl<'a> From<&'a EdwardsBasepointTableRadix32> for EdwardsBasepointTableRadix64

source§

impl<'a> From<&'a EdwardsBasepointTableRadix32> for EdwardsBasepointTableRadix128

source§

impl<'a> From<&'a EdwardsBasepointTableRadix32> for EdwardsBasepointTableRadix256

source§

impl<'a> From<&'a EdwardsBasepointTableRadix64> for EdwardsBasepointTableRadix16

source§

impl<'a> From<&'a EdwardsBasepointTableRadix64> for EdwardsBasepointTableRadix32

source§

impl<'a> From<&'a EdwardsBasepointTableRadix64> for EdwardsBasepointTableRadix128

source§

impl<'a> From<&'a EdwardsBasepointTableRadix64> for EdwardsBasepointTableRadix256

source§

impl<'a> From<&'a EdwardsBasepointTableRadix128> for EdwardsBasepointTableRadix16

source§

impl<'a> From<&'a EdwardsBasepointTableRadix128> for EdwardsBasepointTableRadix32

source§

impl<'a> From<&'a EdwardsBasepointTableRadix128> for EdwardsBasepointTableRadix64

source§

impl<'a> From<&'a EdwardsBasepointTableRadix128> for EdwardsBasepointTableRadix256

source§

impl<'a> From<&'a EdwardsBasepointTableRadix256> for EdwardsBasepointTableRadix16

source§

impl<'a> From<&'a EdwardsBasepointTableRadix256> for EdwardsBasepointTableRadix32

source§

impl<'a> From<&'a EdwardsBasepointTableRadix256> for EdwardsBasepointTableRadix64

source§

impl<'a> From<&'a EdwardsBasepointTableRadix256> for EdwardsBasepointTableRadix128

source§

impl<'a> From<&'a AddressBech32Encoder> for TransactionReceiptDisplayContext<'a>

source§

impl<'a> From<&'a AddressBech32Encoder> for AddressDisplayContext<'a>

1.28.0 · source§

impl<'a> From<&'a String> for Cow<'a, str>

§

impl<'a> From<&'a ExpandedSecretKey> for PublicKey

§

impl<'a> From<&'a KeyPair> for PublicKey

§

impl<'a> From<&'a KeyPair> for SecretKey

§

impl<'a> From<&'a SecretKey> for ExpandedSecretKey

§

impl<'a> From<&'a SecretKey> for PublicKey

§

impl<'a> From<&'a TransactionHashBech32Encoder> for TransactionHashDisplayContext<'a>

§

impl<'a> From<&'a vec128_storage> for &'a [u32; 4]

source§

impl<'a> From<&str> for Box<dyn Error + Send + Sync + 'a>

source§

impl<'a> From<ExecutionCostingEntry<'a>> for &'static str

source§

impl<'a> From<FinalizationCostingEntry<'a>> for &'static str

1.22.0 · source§

impl<'a> From<Cow<'a, str>> for Box<dyn Error>

1.14.0 · source§

impl<'a> From<Cow<'a, str>> for String

1.28.0 · source§

impl<'a> From<Cow<'a, CStr>> for CString

1.28.0 · source§

impl<'a> From<Cow<'a, OsStr>> for OsString

1.28.0 · source§

impl<'a> From<Cow<'a, Path>> for PathBuf

source§

impl<'a> From<Option<&'a AddressBech32Encoder>> for TransactionReceiptDisplayContext<'a>

source§

impl<'a> From<Option<&'a AddressBech32Encoder>> for AddressDisplayContext<'a>

§

impl<'a> From<Option<&'a TransactionHashBech32Encoder>> for TransactionHashDisplayContext<'a>

1.28.0 · source§

impl<'a> From<CString> for Cow<'a, CStr>

1.28.0 · source§

impl<'a> From<OsString> for Cow<'a, OsStr>

1.6.0 · source§

impl<'a> From<PathBuf> for Cow<'a, Path>

source§

impl<'a> From<String> for Cow<'a, str>

source§

impl<'a, '_derivative_strum> From<&'_derivative_strum ExecutionCostingEntry<'a>> for &'static str

source§

impl<'a, '_derivative_strum> From<&'_derivative_strum FinalizationCostingEntry<'a>> for &'static str

1.22.0 · source§

impl<'a, 'b> From<Cow<'b, str>> for Box<dyn Error + Send + Sync + 'a>

§

impl<'a, A> From<&'a [<A as Array>::Item]> for SmallVec<A>
where A: Array, <A as Array>::Item: Clone,

1.45.0 · source§

impl<'a, B> From<Cow<'a, B>> for radix_engine::types::radix_engine_common::prelude::rust::sync::Arc<B>
where B: ToOwned + ?Sized, Arc<B>: From<&'a B> + From<<B as ToOwned>::Owned>,

1.45.0 · source§

impl<'a, B> From<Cow<'a, B>> for Rc<B>
where B: ToOwned + ?Sized, Rc<B>: From<&'a B> + From<<B as ToOwned>::Owned>,

source§

impl<'a, E> From<E> for Box<dyn Error + 'a>
where E: Error + 'a,

source§

impl<'a, E> From<E> for Box<dyn Error + Send + Sync + 'a>
where E: Error + Send + Sync + 'a,

1.30.0 · source§

impl<'a, T> From<&'a Option<T>> for Option<&'a T>

§

impl<'a, T> From<&'a [T; 1]> for &'a GenericArray<T, UInt<UTerm, B1>>

§

impl<'a, T> From<&'a [T; 2]> for &'a GenericArray<T, UInt<UInt<UTerm, B1>, B0>>

§

impl<'a, T> From<&'a [T; 3]> for &'a GenericArray<T, UInt<UInt<UTerm, B1>, B1>>

§

impl<'a, T> From<&'a [T; 4]> for &'a GenericArray<T, UInt<UInt<UInt<UTerm, B1>, B0>, B0>>

§

impl<'a, T> From<&'a [T; 5]> for &'a GenericArray<T, UInt<UInt<UInt<UTerm, B1>, B0>, B1>>

§

impl<'a, T> From<&'a [T; 6]> for &'a GenericArray<T, UInt<UInt<UInt<UTerm, B1>, B1>, B0>>

§

impl<'a, T> From<&'a [T; 7]> for &'a GenericArray<T, UInt<UInt<UInt<UTerm, B1>, B1>, B1>>

§

impl<'a, T> From<&'a [T; 8]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>>

§

impl<'a, T> From<&'a [T; 9]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B1>>

§

impl<'a, T> From<&'a [T; 10]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B0>>

§

impl<'a, T> From<&'a [T; 11]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B1>>

§

impl<'a, T> From<&'a [T; 12]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>>

§

impl<'a, T> From<&'a [T; 13]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B1>>

§

impl<'a, T> From<&'a [T; 14]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B0>>

§

impl<'a, T> From<&'a [T; 15]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B1>>

§

impl<'a, T> From<&'a [T; 16]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>>

§

impl<'a, T> From<&'a [T; 17]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B1>>

§

impl<'a, T> From<&'a [T; 18]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B1>, B0>>

§

impl<'a, T> From<&'a [T; 19]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B1>, B1>>

§

impl<'a, T> From<&'a [T; 20]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B0>, B0>>

§

impl<'a, T> From<&'a [T; 21]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B0>, B1>>

§

impl<'a, T> From<&'a [T; 22]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B1>, B0>>

§

impl<'a, T> From<&'a [T; 23]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B1>, B1>>

§

impl<'a, T> From<&'a [T; 24]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>, B0>>

§

impl<'a, T> From<&'a [T; 25]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>, B1>>

§

impl<'a, T> From<&'a [T; 26]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B1>, B0>>

§

impl<'a, T> From<&'a [T; 27]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B1>, B1>>

§

impl<'a, T> From<&'a [T; 28]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B0>, B0>>

§

impl<'a, T> From<&'a [T; 29]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B0>, B1>>

§

impl<'a, T> From<&'a [T; 30]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B1>, B0>>

§

impl<'a, T> From<&'a [T; 31]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B1>, B1>>

§

impl<'a, T> From<&'a [T; 32]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>>

§

impl<'a, T> From<&'a [T; 33]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B1>>

§

impl<'a, T> From<&'a [T; 34]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B1>, B0>>

§

impl<'a, T> From<&'a [T; 35]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B1>, B1>>

§

impl<'a, T> From<&'a [T; 36]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B1>, B0>, B0>>

§

impl<'a, T> From<&'a [T; 37]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B1>, B0>, B1>>

§

impl<'a, T> From<&'a [T; 38]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B1>, B1>, B0>>

§

impl<'a, T> From<&'a [T; 39]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B1>, B1>, B1>>

§

impl<'a, T> From<&'a [T; 40]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B0>, B0>, B0>>

§

impl<'a, T> From<&'a [T; 41]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B0>, B0>, B1>>

§

impl<'a, T> From<&'a [T; 42]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B0>, B1>, B0>>

§

impl<'a, T> From<&'a [T; 43]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B0>, B1>, B1>>

§

impl<'a, T> From<&'a [T; 44]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B1>, B0>, B0>>

§

impl<'a, T> From<&'a [T; 45]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B1>, B0>, B1>>

§

impl<'a, T> From<&'a [T; 46]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B1>, B1>, B0>>

§

impl<'a, T> From<&'a [T; 47]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B1>, B1>, B1>>

§

impl<'a, T> From<&'a [T; 48]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>, B0>, B0>>

§

impl<'a, T> From<&'a [T; 49]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>, B0>, B1>>

§

impl<'a, T> From<&'a [T; 50]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>, B1>, B0>>

§

impl<'a, T> From<&'a [T; 51]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>, B1>, B1>>

§

impl<'a, T> From<&'a [T; 52]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B1>, B0>, B0>>

§

impl<'a, T> From<&'a [T; 53]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B1>, B0>, B1>>

§

impl<'a, T> From<&'a [T; 54]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B1>, B1>, B0>>

§

impl<'a, T> From<&'a [T; 55]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B1>, B1>, B1>>

§

impl<'a, T> From<&'a [T; 56]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B0>, B0>, B0>>

§

impl<'a, T> From<&'a [T; 57]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B0>, B0>, B1>>

§

impl<'a, T> From<&'a [T; 58]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B0>, B1>, B0>>

§

impl<'a, T> From<&'a [T; 59]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B0>, B1>, B1>>

§

impl<'a, T> From<&'a [T; 60]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B1>, B0>, B0>>

§

impl<'a, T> From<&'a [T; 61]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B1>, B0>, B1>>

§

impl<'a, T> From<&'a [T; 62]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B1>, B1>, B0>>

§

impl<'a, T> From<&'a [T; 63]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B1>, B1>, B1>>

§

impl<'a, T> From<&'a [T; 64]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, B0>>

§

impl<'a, T> From<&'a [T; 70]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B1>, B1>, B0>>

§

impl<'a, T> From<&'a [T; 80]> for &'a GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>,