impl_as_ref_with_field!() { /* proc-macro */ }
Expand description
Implement AsRef using a field
struct Test {
field: String,
};
impl_as_ref_with_field!(<String> Test {field});
impl_as_ref_with_field!() { /* proc-macro */ }
Implement AsRef using a field
struct Test {
field: String,
};
impl_as_ref_with_field!(<String> Test {field});