pub trait EntryDefRegistration {
    const ENTRY_DEFS: &'static [EntryDef];
}
Expand description

Trait for binding static EntryDef property access for a type. This trait maps a type to its corresponding EntryDef property at compile time.

§Derivable

This trait can be used with #[derive] or by using the attribute macro hdk_derive::hdk_entry_defs.

Required Associated Constants§

source

const ENTRY_DEFS: &'static [EntryDef]

The list of EntryDef properties for the implementing type. This must be in the same order as the

Object Safety§

This trait is not object safe.

Implementors§