pub unsafe fn from_raw<T>(pointer: *mut T) -> Box<T>Expand description
Tell Rust to take back the control over memory.
ยงSafety
pointer must come from Box::into_raw for the same T, must not be
null, and must not have already been reclaimed.
pub unsafe fn from_raw<T>(pointer: *mut T) -> Box<T>Tell Rust to take back the control over memory.
pointer must come from Box::into_raw for the same T, must not be
null, and must not have already been reclaimed.