use derive_more_more::Extend; #[derive(Default, Extend)] #[extend(usize)] struct Named { inner: Vec, test: bool, } #[derive(Default, Extend)] #[extend(usize)] struct Unnamed(Vec, bool); fn main() {}