Lines Matching defs:into_raw_with_allocator
592 let (raw, alloc) = Box::into_raw_with_allocator(boxed);
829 let (raw, alloc) = Box::into_raw_with_allocator(self);
904 let (raw, alloc) = Box::into_raw_with_allocator(self);
978 /// using [`Box::into_raw_with_allocator`]:
985 /// let (ptr, alloc) = Box::into_raw_with_allocator(x);
1056 Self::into_raw_with_allocator(b).0
1072 /// to call it as `Box::into_raw_with_allocator(b)` instead of `b.into_raw_with_allocator()`. This
1084 /// let (ptr, alloc) = Box::into_raw_with_allocator(x);
1096 /// let (ptr, alloc) = Box::into_raw_with_allocator(x);
1107 pub fn into_raw_with_allocator(b: Self) -> (*mut T, A) {
1626 let (raw, alloc) = Box::into_raw_with_allocator(s);
1659 let (ptr, alloc) = Box::into_raw_with_allocator(boxed_slice);
1773 let (raw, alloc): (*mut dyn Any, _) = Box::into_raw_with_allocator(self);
1832 let (raw, alloc): (*mut (dyn Any + Send), _) = Box::into_raw_with_allocator(self);
1892 Box::into_raw_with_allocator(self);