Crate double_trait

Crate double_trait 

Source

Structs§

Dummy
An empty Dummy type. Each trait generated by the dummies macro will be implemented for this type.

Attribute Macros§

dummies
Generates a “dummy” implementation for each method in a trait using unimplemented!(). The main use case is to greate specialized test doubles for implementing the trait without worrying the need to explicitly implement methods, which are not invoked by the test.