//! Mocking library supporting non-static generics. #![deny(clippy::all, clippy::pedantic, missing_docs)] pub use predicates::prelude::*; pub use ridicule_macros::{automock, mock}; #[doc(hidden)] pub mod __private { pub use predicates::BoxPredicate; pub mod type_id { #[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] pub struct TypeID { id: usize, } impl TypeID { #[inline] #[must_use] pub fn of() -> Self { Self { id: Self::of:: as usize, } } } } pub enum CallCountExpectation { Never, Unlimited, Times(u32), } }