use eraserhead::Erase; #[derive(Erase)] pub struct Simple(i32); #[derive(Erase)] pub struct SingleRef<'a>(&'a i32); #[derive(Erase)] pub struct MultipleRef<'a, 'b>(&'a i32, &'b [f64]); #[derive(Erase)] pub struct Generic(T);