Macro xvc_core::attribute_digest
source · macro_rules! attribute_digest { ( $t:ty, $desc:literal ) => { ... }; }
Expand description
Specifies an attribute digest
Example
ⓘ
attribute_digest!(MyDigestType, "my-digest-type");makes MyType to implement xvc_ecs::Storable, Fromattribute function that returns the specified string.
This string is then used in XvcDigests as a key to store the digest.