Derive Macro neli_proc_macros::Size
source · [−]#[derive(Size)]
{
// Attributes available to this derive:
#[neli]
}
Expand description
Derives the neli Size
trait for a struct or enum.
Acceptable struct attribute is:
#[neli(size_bound = "T: MyTrait")]
which will generate a trait bound in the impl for the specified type parameter.
Implicit type parameter bound: Size
.