[−][src]Macro structural::unsafe_impl_get_field_raw_mut_method
For manual implementors of the GetFieldMut trait, implementing the methods used for accession multiple mutable fields.
Safety
This is an unsafe macro,
because it requires each invocation of it to borrow a different field for the type
(the field_name=
argument),
otherwise this would cause undefined behavior because it would
create multiple mutable borrows to the same field.
Example
For an example where this macro is used, you can look at the manual implementation example of the GetFieldMut trait