Lines Matching defs:A
465 pub const fn try_new_uninit_in(alloc: A) -> Result<Box<mem::MaybeUninit<T>, A>, AllocError> in try_new_uninit_in() argument
537 pub const fn try_new_zeroed_in(alloc: A) -> Result<Box<mem::MaybeUninit<T>, A>, AllocError> in try_new_zeroed_in() argument
565 pub const fn into_boxed_slice(boxed: Self) -> Box<[T], A> { in into_boxed_slice() argument
738 pub fn new_uninit_slice_in(len: usize, alloc: A) -> Box<[mem::MaybeUninit<T>], A> { in new_uninit_slice_in() argument
766 pub fn new_zeroed_slice_in(len: usize, alloc: A) -> Box<[mem::MaybeUninit<T>], A> { in new_zeroed_slice_in() argument
803 pub const unsafe fn assume_init(self) -> Box<T, A> { in assume_init() argument
838 pub const fn write(mut boxed: Self, value: T) -> Box<T, A> { in write() argument
879 pub unsafe fn assume_init(self) -> Box<[T], A> { in assume_init() argument
1083 pub const fn into_raw_with_allocator(b: Self) -> (*mut T, A) { in into_raw_with_allocator() argument
1096 pub const fn into_unique(b: Self) -> (Unique<T>, A) { in into_unique() argument
1114 pub const fn allocator(b: &Self) -> &A { in allocator()
1603 pub fn downcast<T: Any>(self) -> Result<Box<T, A>, Self> { in downcast() argument
1633 pub unsafe fn downcast_unchecked<T: Any>(self) -> Box<T, A> { in downcast_unchecked() argument
1662 pub fn downcast<T: Any>(self) -> Result<Box<T, A>, Self> { in downcast() argument
1692 pub unsafe fn downcast_unchecked<T: Any>(self) -> Box<T, A> { in downcast_unchecked() argument
1721 pub fn downcast<T: Any>(self) -> Result<Box<T, A>, Self> { in downcast() argument
1751 pub unsafe fn downcast_unchecked<T: Any>(self) -> Box<T, A> { in downcast_unchecked() argument