#[implement]Expand description
Implement a trait for given enum or struct. The trait should be defined with
target attribute.
§Example
ⓘ
use newer_type::implement;
use newer_type_std::{ops::Extend, cmp::PartialEq};
#[implement(Extend<usize>)]
struct Example1(Vec<usize>);
#[implement(Extend<T>)]
struct Example2<T>(Vec<T>);
#[implement(for<T> PartialEq<T>)]
struct Example3(String);
#[implement(for<T: std::fmt::Debug> PartialEq<T>)]
struct Example4<U>(U);