instance_of 0.1.0

Macro to answer the question: does it implement a trait?
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
#![ warn( missing_docs ) ]
#![ warn( missing_debug_implementations ) ]

//!
//! Macro to answer the question: does it implement a trait?
//!
//! This solution has a limitation:
//! - In case enity is a function and trat is `Fn`/`FnMut`/`FnOnce` which current entity does not implement you will get compile-time error instead of `false`.
//!

pub use implements::implements;
pub use implements::instance_of;