Function mock_me::inject
[−]
[src]
pub fn inject(attr: TokenStream, item: TokenStream) -> TokenStream
The inject macro is used to replace a mocked function with an alternative implementation. Its signature contains the identifier that is being mocked, with the function that will replace the mocked function within quotes.