Home
last modified time | relevance | path

Searched refs:into_raw (Results 1 - 1 of 1) sorted by relevance

/kernel/linux/linux-6.6/rust/alloc/
H A Dboxed.rs64 //! 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 { in into_raw() functions
2172 let raw: *mut dyn Error = Box::into_raw(self); in downcast()
2190 Box::from_raw(Box::into_raw(
[all...]

Completed in 6 milliseconds