| Crates.io | moverox-traits |
| lib.rs | moverox-traits |
| version | 0.1.2 |
| created_at | 2025-07-24 02:09:49.563272+00 |
| updated_at | 2025-12-25 11:46:52.175859+00 |
| description | Traits for rusty Move types and their type tags. |
| homepage | |
| repository | https://github.com/0xangelo/moverox |
| max_upload_size | |
| id | 1765445 |
| size | 90,350 |
Traits for rusty Move types and their type tags.
The core items are MoveType and MoveTypeTag. These
are useful trait bounds to use when dealing with generic off-chain Move type representations.
They are implemented for the primitive types that correspond to Move's primitives
(integers/bool).
For Move structs, MoveDatatype should be used as it has an
associated MoveDatatypeTag. The
MoveDatatype derive macro is exported for automatically
creating a MoveDatatypeTag implementation from normal Rust struct declarations.