Macro hdk::register_entry[][src]

macro_rules! register_entry {
    ($t : ident $def : expr) => { ... };
}
Expand description

Implements a whole lot of sane defaults for a struct or enum that should behave as an entry, without implementing the app entry conversion interface.

This allows crates to easily define a struct as an entry separately to binding that struct as an entry type in a dependent crate.

For most normal applications, you should use the [ entry_def! ] macro instead.