Crate std_tools::dependencies::meta_tools::dependencies::impls_index
source · [−]Expand description
Several of macros to put each function under a named macro to index every function in a class.
Module :: impls_index
Several of macros to put each function under a named macro to index every function in a class.
It encourages writing better code, having index of components stripped of details of implementation is very important for comprehension of the code and ability to see the big picture.
To add to your project
cargo add impls_index_meta
Try out from the repository
git clone https://github.com/Wandalen/wTools
cd wTools
cd sample/rust/impls_index_trivial_sample
cargo run
Modules
Dependencies.
Exposed namespace of the module.
Collection of general purpose meta tools.
Orphan namespace of the module.
Prelude to use essentials: use my_module::prelude::*
.
Protected namespace of the module.
Macros
Internal impls1 macro. Don’t use.
Get name of a function.
Macro to rename function.
Split functions.
Split functions.
Define implementation putting each function under a macro.
Define implementation putting each function under a macro.
Define implementation putting each function under a macro.
Macros to put each function under a named macro to index every function in a class.
Define implementation putting each function under a macro.
Index of items.
Define implementation putting each function under a macro and adding attribute #[ test ]
.
Define implementation putting each function under a macro and adding attribute #[ test ]
.
Index of items.