use defaults::Defaults; #[derive(Defaults, Default)] struct Foo { x: usize, y: usize, } fn main() {}