Skip to main content

pub_impl_methods

Macro pub_impl_methods 

Source
macro_rules! pub_impl_methods {
    { $(
    fn $name:ident $( [ $($generics:tt)* ] )? (
        ,
        $( $param:ident: $ptype:ty ),*
    ) -> $ret:ty;
)* } => { ... };
}
Expand description

Define ordinary methods in impl .. for DynTimeProvider

This macro exists mostly to avoid copypaste mistakes where we (for example) implement block_advance by calling release_advance.