Module unimock::macro_api

source ·
Expand description

APIs used by macros, not intended to be used directly.

Structs

A builder for argument matchers.
A reporter used in call pattern matchers in case of mismatched inputs.

Enums

The evaluation of a MockFn.

Traits

Fallback trait (using autoref specialization) for returning "?" when the implementing value does not implement std::fmt::Debug.
Trait for computing the proper std::fmt::Debug representation of a value.

Functions

Convert any type implementing AsRef<[I]> to a &[I].
Convert any type implementing AsRef<str> to a &str.
Evaluate a MockFn given some inputs, to produce its output.
Take a vector of strings, comma separate and put within parentheses.