Crate simulacrum_macros [] [src]

Macros

create_expect_method

Use this macro to create an .expect_METHOD_NAME() method.

create_mock
create_mock_struct
simulacrum_tuplefy
was_called

Use this macro to do a self.e.was_called self.e.was_called_returning with a shorter interface.

Structs

Expectations
Method

What you get from calling .expect_METHOD_NAME() on a Mock.