implements 0.14.0

Macro to answer the question: does it implement a trait?
Documentation
#![ cfg_attr( feature = "no_std", no_std ) ]
#![ doc( html_logo_url = "https://raw.githubusercontent.com/Wandalen/wTools/master/asset/img/logo_v3_trans_square.png" ) ]
#![ doc(
  html_favicon_url = "https://raw.githubusercontent.com/Wandalen/wTools/alpha/asset/img/logo_v3_trans_square_icon_small_v2.ico"
) ]
#![ doc( html_root_url = "https://docs.rs/implements/latest/implements/" ) ]
// #![ deny( rust_2018_idioms ) ]
// #![ deny( missing_debug_implementations ) ]
// #![ deny( missing_docs ) ]

//!
//! Macro to answer the question: does it implement a trait?
//!

// `all(doc, feature = "enabled")` — not just `doc`: cfg(doc) is active during `cargo test --doc`,
// so without the feature guard the readme doc-tests run with no-default-features and fail (API absent).
#![ cfg_attr( all( doc, feature = "enabled" ), doc = include_str!( concat!( env!( "CARGO_MANIFEST_DIR" ), "/", "readme.md" ) ) ) ]
#![ cfg_attr( not( doc ), doc = "Implementation checking utilities" ) ]

// #[ macro_use ]
#[ cfg( feature = "enabled" ) ]
mod implements_impl;

/// Define a private namespace for all its items.
#[ cfg( feature = "enabled" ) ]
mod private
{
  /// Macro `implements` to answer the question: does it implement a trait?
  ///
  /// ### Basic use-case.
  /// ```
  /// use implements::*;
  /// dbg!( implements!( 13_i32 => Copy ) );
  /// // < implements!( 13_i32 = > Copy ) : true
  /// dbg!( implements!( Box::new( 13_i32 ) => Copy ) );
  /// // < implements!( 13_i32 = > Copy ) : false
  /// ```
  #[ macro_export ]
  macro_rules! implements
  {
  ( $( $arg: tt )+ ) =>
  {
   $crate::_implements!( $( $arg )+ );
 }
 }

  /// Macro `instance_of` to answer the question: does it implement a trait? Alias of the macro `implements`.
  ///
  /// ### Basic use-case.
  /// ```
  /// use implements::instance_of;
  /// dbg!( instance_of!( 13_i32 => Copy ) );
  /// // < instance_of!( 13_i32 = > Copy ) : true
  /// dbg!( instance_of!( Box::new( 13_i32 ) => Copy ) );
  /// // < instance_of!( 13_i32 = > Copy ) : false
  /// ```
  #[ macro_export ]
  macro_rules! instance_of
  {
  ( $( $arg: tt )+ ) =>
  {
   $crate::_implements!( $( $arg )+ );
 }
 }

  pub use implements;
  pub use instance_of;
}

#[ doc( inline ) ]
#[ allow( unused_imports ) ]
#[ cfg( feature = "enabled" ) ]
pub use own::*;

/// Own namespace of the module.
#[ cfg( feature = "enabled" ) ]
#[ allow( unused_imports ) ]
pub mod own
{
  use super::*;
  #[ doc( inline ) ]
  pub use orphan::*;
}

/// Orphan namespace of the module.
#[ cfg( feature = "enabled" ) ]
#[ allow( unused_imports ) ]
pub mod orphan
{
  use super::*;
  #[ doc( inline ) ]
  pub use exposed::*;
}

/// Exposed namespace of the module.
#[ cfg( feature = "enabled" ) ]
#[ allow( unused_imports ) ]
pub mod exposed
{
  use super::*;
  #[ doc( inline ) ]
  pub use prelude::*;
}

/// Prelude to use essentials: `use my_module::prelude::*`.
#[ cfg( feature = "enabled" ) ]
#[ allow( unused_imports ) ]
pub mod prelude
{
  use super::{ private };
  #[ doc( inline ) ]
  pub use private::{ implements, instance_of };
}