Attribute Macro mock_it_codegen::mock_it
source · [−]#[mock_it]
Expand description
Generate a mock struct from a trait. The mock struct will be named after the trait, with “Mock” appended.
#[mock_it]
Generate a mock struct from a trait. The mock struct will be named after the trait, with “Mock” appended.