Lines Matching defs:T

162     pub fn into_raw(b: Self) -> *mut T {  in into_raw()
170 pub fn leak<'a>(b: Self) -> &'a mut T { in leak()
189 pub unsafe fn assume_init(self) -> Box<T, A> { in assume_init()
199 pub fn write(mut self, value: T) -> Box<T, A> { in write()
215 pub fn new(x: T, flags: Flags) -> Result<Self, AllocError> { in new()
234 pub fn new_uninit(flags: Flags) -> Result<Box<MaybeUninit<T>, A>, AllocError> { in new_uninit()
246 pub fn pin(x: T, flags: Flags) -> Result<Pin<Box<T, A>>, AllocError> in pin()
260 fn forget_contents(this: Self) -> Box<MaybeUninit<T>, A> { in forget_contents()
280 pub fn drop_contents(this: Self) -> Box<MaybeUninit<T>, A> { in drop_contents()
291 pub fn into_inner(b: Self) -> T { in into_inner()
308 fn from(b: Box<T, A>) -> Self { in from()
321 fn write_init<E>(mut self, init: impl Init<T, E>) -> Result<Self::Initialized, E> { in write_init()
330 fn write_pin_init<E>(mut self, init: impl PinInit<T, E>) -> Result<Pin<Self::Initialized>, E> { in write_pin_init()
347 fn try_pin_init<E>(init: impl PinInit<T, E>, flags: Flags) -> Result<Pin<Self>, E> in try_pin_init()
355 fn try_init<E>(init: impl Init<T, E>, flags: Flags) -> Result<Self, E> in try_init()
380 unsafe fn borrow<'a>(ptr: *mut crate::ffi::c_void) -> &'a T { in borrow()
386 unsafe fn borrow_mut<'a>(ptr: *mut crate::ffi::c_void) -> &'a mut T { in borrow_mut()
412 unsafe fn borrow<'a>(ptr: *mut crate::ffi::c_void) -> Pin<&'a T> { in borrow()
423 unsafe fn borrow_mut<'a>(ptr: *mut crate::ffi::c_void) -> Pin<&'a mut T> { in borrow_mut()
443 fn deref(&self) -> &T { in deref()
455 fn deref_mut(&mut self) -> &mut T { in deref_mut()