Lines Matching refs:into_raw
64 //! T` obtained from [`Box::<T>::into_raw`] may be deallocated using the
929 /// using [`Box::into_raw`]:
932 /// let ptr = Box::into_raw(x);
1027 /// to call it as `Box::into_raw(b)` instead of `b.into_raw()`. This
1035 /// let ptr = Box::into_raw(x);
1045 /// let p = Box::into_raw(x);
1055 pub fn into_raw(b: Self) -> *mut T {
2172 let raw: *mut dyn Error = Box::into_raw(self);
2190 Box::from_raw(Box::into_raw(s) as *mut (dyn Error + Send))
2204 Box::from_raw(Box::into_raw(s) as *mut (dyn Error + Send + Sync))