Function kvarn_utils::ref_to_mut
source · [−]Expand description
Casts &T
to *mut T
for getting mutable access from a immutable reference.
Safety
This function isn’t unsafe, but dereferencing the returned pointer is.
Casts &T
to *mut T
for getting mutable access from a immutable reference.
This function isn’t unsafe, but dereferencing the returned pointer is.