#[derive(Clone, Debug, Eq, PartialEq)] struct Foo; #[derive(Clone)] struct Bar;