unimock 0.6.8

A versatile and developer-friendly trait mocking library
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
mod option;
mod poll;
mod result;
mod tuples;
mod vec;

/// An output Kind where T is a generic type and some of the parameters are borrows.
///
/// The `T` is interpreted as a type that takes another [crate::output::Kind].
/// e.g.:
///
/// `Deep<Option<Owned<i32>>>`
///
/// This way, Deep kinds can be nested indefinitely.
#[doc(hidden)]
pub struct Deep<T>(core::marker::PhantomData<T>);