Type Alias TryIntoInnerFnTyped

Source
pub type TryIntoInnerFnTyped<T> = for<'src, 'dst> fn(&'src T, TypedPtrUninit<'dst, T>) -> Result<&'dst mut T, TryIntoInnerError>;
Expand description

Function to convert a transparent/newtype wrapper into its inner type.

This is used for types that wrap another type (like smart pointers, newtypes, etc.) where the wrapper can be unwrapped to access the inner value. Primarily used during serialization.