use derive_tools::Index; #[ derive( Index ) ] struct StructUnit; fn main() { }