Function cpp_utils::static_cast_mut
[−]
[src]
pub fn static_cast_mut<R, T: StaticCast<R>>(ptr: *mut T) -> *mut R
Converts type of a mutable pointer using StaticCast
implementation of the type.
If ptr
is null, this function does nothing and returns null pointer.