#![ cfg_attr( not( feature = "use_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/" ) ]
#![ warn( rust_2018_idioms ) ]
#![ warn( missing_debug_implementations ) ]
#![ warn( missing_docs ) ]
#![ doc = include_str!( concat!( env!( "CARGO_MANIFEST_DIR" ), "/", "Readme.md" ) ) ]
mod implements_impl;
pub( crate ) mod private
{
#[ macro_export ]
macro_rules! implements
{
( $( $arg : tt )+ ) =>
{
$crate::_implements!( $( $arg )+ );
}
}
#[ macro_export ]
macro_rules! instance_of
{
( $( $arg : tt )+ ) =>
{
$crate::_implements!( $( $arg )+ );
}
}
pub use implements;
pub use instance_of;
}
pub mod protected
{
pub use super::orphan::*;
}
#[ doc( inline ) ]
pub use protected::*;
pub mod orphan
{
pub use super::exposed::*;
}
pub mod exposed
{
pub use super::prelude::*;
}
pub mod prelude
{
#[ doc( inline ) ]
pub use super::private::
{
implements,
instance_of,
};
}