pub unsafe fn by_raw<T, F>(initializer: F) -> impl New<Output = T>
Expand description
Constructs a New
value using a thunk which initializes its data into some pinned,
uninitialized memory.
§Safety
initializer
must satisfy the same safety requirements asNew::new()