Lines Matching defs:T
203 pub fn into_raw(b: Self) -> *mut T { in into_raw()
211 pub fn leak<'a>(b: Self) -> &'a mut T { in leak()
230 pub unsafe fn assume_init(self) -> Box<T, A> { in assume_init()
240 pub fn write(mut self, value: T) -> Box<T, A> { in write()
256 pub fn new(x: T, flags: Flags) -> Result<Self, AllocError> { in new()
275 pub fn new_uninit(flags: Flags) -> Result<Box<MaybeUninit<T>, A>, AllocError> { in new_uninit()
287 pub fn pin(x: T, flags: Flags) -> Result<Pin<Box<T, A>>, AllocError> in pin()
340 ) -> Result<Pin<Box<[T], A>>, E> in pin_slice()
343 Item: PinInit<T, E>, in pin_slice()
378 fn forget_contents(this: Self) -> Box<MaybeUninit<T>, A> { in forget_contents()
398 pub fn drop_contents(this: Self) -> Box<MaybeUninit<T>, A> { in drop_contents()
409 pub fn into_inner(b: Self) -> T { in into_inner()
426 fn from(b: Box<T, A>) -> Self { in from()
439 fn write_init<E>(mut self, init: impl Init<T, E>) -> Result<Self::Initialized, E> { in write_init()
448 fn write_pin_init<E>(mut self, init: impl PinInit<T, E>) -> Result<Pin<Self::Initialized>, E> { in write_pin_init()
465 fn try_pin_init<E>(init: impl PinInit<T, E>, flags: Flags) -> Result<Pin<Self>, E> in try_pin_init()
473 fn try_init<E>(init: impl Init<T, E>, flags: Flags) -> Result<Self, E> in try_init()
506 unsafe fn borrow<'a>(ptr: *mut c_void) -> &'a T { in borrow()
512 unsafe fn borrow_mut<'a>(ptr: *mut c_void) -> &'a mut T { in borrow_mut()
541 unsafe fn borrow<'a>(ptr: *mut c_void) -> Pin<&'a T> { in borrow()
552 unsafe fn borrow_mut<'a>(ptr: *mut c_void) -> Pin<&'a mut T> { in borrow_mut()
572 fn deref(&self) -> &T { in deref()
584 fn deref_mut(&mut self) -> &mut T { in deref_mut()
614 fn borrow(&self) -> &T { in borrow()
642 fn borrow_mut(&mut self) -> &mut T { in borrow_mut()