Crate radix_common Copy item path Source address RE bech32 address library. constants RE protocol constants crypto RE crypto library data RE scrypto data model. math RE math library. network RE network identifier model. prelude Each module should have its own prelude, which: state Common models for state changes in RE time RE time library. traits types RE types. count define_untyped_manifest_type_wrapper This macro is used to create types that are supposed to be equivalent to existing types that
implement ScryptoSbor . These types are untyped which means that at the language-level, they
don’t contain any type information (e.g., enums don’t contain variants, structs don’t contain
named fields, etc…). define_wrapped_hash i Creates a safe integer from literals.
You must specify the type of the
integer you want to create. manifest_args manifest_type scrypto_args scrypto_describe_for_manifest_type test_add_all test_from_all_types_builtin_safe test_from_all_types_safe_builtin test_from_all_types_safe_safe test_from_builtin test_impl test_math test_signed test_unsigned to_manifest_value_and_unwrap well_known_scrypto_custom_type A macro for implementing sbor traits (for statically sized types). Categorize The Categorize trait marks a rust type as having a fixed value kind for SBOR encoding/decoding. Decode A data structure that can be decoded from a byte array using SBOR. Encode A data structure that can be serialized into a byte array using SBOR. Categorize Derive code that returns the value kind. Decode Derive code that decodes this data structure from a byte array. Encode Derive code that encodes this data structure ManifestCategorize Derives code for categorizing a struct or enum with Manifest value model. ManifestDecode Derives code for decoding a struct or enum with Manifest value model. ManifestEncode Derives code for encoding a struct or enum with Manifest value model. ManifestSbor A shortcut for ManifestCategorize , ManifestEncode and ManifestDecode derives. Sbor A shortcut for Categorize , Encode , Decode , and Describe derives. ScryptoCategorize Derives code for categorizing a struct or enum with Scrypto value model. ScryptoDecode Derives code for decoding a struct or enum with Scrypto value model. ScryptoEncode Derives code for encoding a struct or enum with Scrypto value model. ScryptoEvent Derive code for implementing the required logic to mark a type as being an event. ScryptoSbor A shortcut for ScryptoCategorize , ScryptoEncode , ScryptoDecode , and ScryptoDescribe derives. ScryptoSborAssertion A macro for outputting tests and marker traits to assert that a type has maintained its shape over time.