Crate mockall_examples
source ·Expand description
Examples of mock objects and their generated methods.
This crate only exists to document the autogenerated methods of the
Mockall
crate. You should never depend on this crate.
Modules§
- Mock version of the
a_module
module
Structs§
- structs can be mocked with
mock!
- A basic trait with several kinds of method.
Traits§
- A trait implemented by a Struct we want to mock
- A basic trait with several kinds of method.
Functions§
- A foreign “C” function