Lines Matching refs:boxed
386 let mut boxed = Self::new_uninit_in(alloc); in new_in() localVariable
388 boxed.as_mut_ptr().write(x); in new_in()
389 boxed.assume_init() in new_in()
414 let mut boxed = Self::try_new_uninit_in(alloc)?; in try_new_in() localVariable
416 boxed.as_mut_ptr().write(x); in try_new_in()
417 Ok(boxed.assume_init()) in try_new_in()
583 pub fn into_boxed_slice(boxed: Self) -> Box<[T], A> { in into_boxed_slice()
584 let (raw, alloc) = Box::into_raw_with_allocator(boxed); in into_boxed_slice()
601 pub fn into_inner(boxed: Self) -> T { in into_inner()
602 *boxed in into_inner()
850 pub fn write(mut boxed: Self, value: T) -> Box<T, A> { in write()
852 (*boxed).write(value); in write()
853 boxed.assume_init() in write()
1205 pub const fn into_pin(boxed: Self) -> Pin<Self> in into_pin()
1212 unsafe { Pin::new_unchecked(boxed) } in into_pin()
1277 let mut boxed = Self::new_uninit_in(self.1.clone()); in clone() localVariable
1279 (**self).write_clone_into_raw(boxed.as_mut_ptr()); in clone()
1280 boxed.assume_init() in clone()
1457 fn from(boxed: Box<T, A>) -> Self { in from()
1458 Box::into_pin(boxed) in from()