Lines Matching defs:T
157 pub fn into_raw(b: Self) -> *mut T { in into_raw()
165 pub fn leak<'a>(b: Self) -> &'a mut T { in leak()
184 pub unsafe fn assume_init(self) -> Box<T, A> { in assume_init()
194 pub fn write(mut self, value: T) -> Box<T, A> { in write()
210 pub fn new(x: T, flags: Flags) -> Result<Self, AllocError> { in new()
229 pub fn new_uninit(flags: Flags) -> Result<Box<MaybeUninit<T>, A>, AllocError> { in new_uninit()
241 pub fn pin(x: T, flags: Flags) -> Result<Pin<Box<T, A>>, AllocError> in pin()
249 fn forget_contents(this: Self) -> Box<MaybeUninit<T>, A> { in forget_contents()
269 pub fn drop_contents(this: Self) -> Box<MaybeUninit<T>, A> { in drop_contents()
280 pub fn into_inner(b: Self) -> T { in into_inner()
297 fn from(b: Box<T, A>) -> Self { in from()
310 fn write_init<E>(mut self, init: impl Init<T, E>) -> Result<Self::Initialized, E> { in write_init()
319 fn write_pin_init<E>(mut self, init: impl PinInit<T, E>) -> Result<Pin<Self::Initialized>, E> { in write_pin_init()
336 fn try_pin_init<E>(init: impl PinInit<T, E>, flags: Flags) -> Result<Pin<Self>, E> in try_pin_init()
344 fn try_init<E>(init: impl Init<T, E>, flags: Flags) -> Result<Self, E> in try_init()
369 unsafe fn borrow<'a>(ptr: *mut crate::ffi::c_void) -> &'a T { in borrow()
375 unsafe fn borrow_mut<'a>(ptr: *mut crate::ffi::c_void) -> &'a mut T { in borrow_mut()
401 unsafe fn borrow<'a>(ptr: *mut crate::ffi::c_void) -> Pin<&'a T> { in borrow()
412 unsafe fn borrow_mut<'a>(ptr: *mut crate::ffi::c_void) -> Pin<&'a mut T> { in borrow_mut()
432 fn deref(&self) -> &T { in deref()
444 fn deref_mut(&mut self) -> &mut T { in deref_mut()