Macro sapio::decl_then[][src]

macro_rules! decl_then {
    { $(#[$meta : meta]) * $name : ident } => { ... };
}
Expand description

The then macro is used to define a ThenFunc formats for calling are:

/// A Guarded CTV Function
then!(guarded_by: [guard_1, ... guard_n] fn name(self, ctx) {/*Result<Box<Iterator<TransactionTemplate>>>*/} );
/// A Conditional CTV Function
then!(compile_if: [compile_if_1, ... compile_if_n] fn name(self, ctx) {/*Result<Box<Iterator<TransactionTemplate>>>*/} );
/// An Unguarded CTV Function
then!(fn name(self, ctx) {/*Result<Box<Iterator<TransactionTemplate>>>*/} );
/// Null Implementation
then!(name);