Lines Matching defs:T
195 pub fn into_raw(b: Self) -> *mut T { in into_raw()
203 pub fn leak<'a>(b: Self) -> &'a mut T { in leak()
222 pub unsafe fn assume_init(self) -> Box<T, A> { in assume_init()
232 pub fn write(mut self, value: T) -> Box<T, A> { in write()
248 pub fn new(x: T, flags: Flags) -> Result<Self, AllocError> { in new()
267 pub fn new_uninit(flags: Flags) -> Result<Box<MaybeUninit<T>, A>, AllocError> { in new_uninit()
279 pub fn pin(x: T, flags: Flags) -> Result<Pin<Box<T, A>>, AllocError> in pin()
287 fn forget_contents(this: Self) -> Box<MaybeUninit<T>, A> { in forget_contents()
307 pub fn drop_contents(this: Self) -> Box<MaybeUninit<T>, A> { in drop_contents()
318 pub fn into_inner(b: Self) -> T { in into_inner()
335 fn from(b: Box<T, A>) -> Self { in from()
348 fn write_init<E>(mut self, init: impl Init<T, E>) -> Result<Self::Initialized, E> { in write_init()
357 fn write_pin_init<E>(mut self, init: impl PinInit<T, E>) -> Result<Pin<Self::Initialized>, E> { in write_pin_init()
374 fn try_pin_init<E>(init: impl PinInit<T, E>, flags: Flags) -> Result<Pin<Self>, E> in try_pin_init()
382 fn try_init<E>(init: impl Init<T, E>, flags: Flags) -> Result<Self, E> in try_init()
406 unsafe fn borrow<'a>(ptr: *const crate::ffi::c_void) -> &'a T { in borrow()
430 unsafe fn borrow<'a>(ptr: *const crate::ffi::c_void) -> Pin<&'a T> { in borrow()
449 fn deref(&self) -> &T { in deref()
461 fn deref_mut(&mut self) -> &mut T { in deref_mut()