Module faux::matcher [−][src]
Tools to check if an argument to a mocked method matches expectations.
See also: pattern!
and
from_fn!
for additional ways to create
matchers.
Structs
RefMatcher | Wraps an |
Traits
ArgMatcher | Matcher for single argument of a method. |
InvocationMatcher | Matcher for the invocation of a method. |
Functions
any | Returns a universal argument matcher. |
eq | Returns an equality matcher. |
eq_against | Returns an equality matcher for different types. |