Module impls

Source

Re-exports§

pub use derives::*;

Modules§

derives

Macros§

impl_all_traits
The impl_all_traits!{} macro does what impl_trait!{} and impl_super_traits!{} does, e.g. impl_all_traits!{ _impl!(Args) Fn<Args> _for!( Type )} will implement Fn, FnMut and FnOnce for Type.
impl_super_traits
The impl_super_traits!{} macro helps to implement the super trait(s) of the mentioned trait, e.g. impl_super_traits!{ _impl!(Args) Fn<Args> _for!( Type )} will implement FnMut and FnOnce for Type, but NOT Fn.
impl_trait
For frequently used traits in std, this library provides macros such as impl_trait!() to implement these traits without the need of writing trait methods.