Expand description
This crate provides a procedural macro to derive the MockComponent trait for structs.
The target struct must contain a field named component of type MockComponent itsel. All calls will be forwarded to it.
Derive Macrosยง
- Decorated
Mock Component - Procedural macro to derive the
MockComponenttrait. - Mock
Component - Procedural macro to derive the
MockComponenttrait. - Mock
Props - Procedural macro to derive the
MockComponenttrait.