Module decoration

Source
Expand description

Module decoration defines the trait, which describes the extra information attached to crate::syntax data.

Traitsยง

AsUndecorated
AsUndecorated<T> is equivalent to AsRef, with specific meaning. AsRef can be too generic and not suitable for use case.
Decoration
Decoration associates the extra information attached to Transaction or any other crate::syntax data. See super::plain or super::tracked for implementations.