Crate clockwork_anchor_idl
source ·Expand description
Generates Rust code from an Anchor IDL.
Modules
Structs
Enums
Constants
- Version of anchor-idl.
Functions
- Generates an account state struct.
- Generates a list of IdlAccountItems as a TokenStream.
- Generates account state structs.
- Generates struct fields from a list of IdlFields.
- Generates an enum.
- Generates struct fields from a list of IdlFields.
- Generates struct fields from a list of IdlFields.
- Generates a single instruction handler.
- Generates all instruction handlers.
- Generates instruction context structs.
- Generates struct fields from a list of IdlFields.
- Generates a struct.
- Generates structs and enums.