derive_more 2.1.1

Adds #[derive(x)] macros for more traits
Documentation
1
2
3
4
5
6
7
8
#[derive(derive_more::AsMut)]
#[as_mut((i32, f32))]
struct Foo {
    bar: i32,
    baz: f32,
}

fn main() {}