Function pin_init::cast_pin_init
source · pub const unsafe fn cast_pin_init<T, U, E>(
init: impl PinInit<T, E>
) -> impl PinInit<U, E>Expand description
Changes the to be initialized type.
§Safety
*mut Umust be castable to*mut Tand any value of typeTwritten through such a pointer must result in a validU.