Lines Matching defs:T
78 impl<T: ?Sized> AsAddress for &T { implementation
81 let ptr: *const T = self; in addr() constant
86 impl<T: ?Sized> AsAddress for &mut T { implementation
89 let ptr: *const T = self; in addr() constant
101 impl<T: ?Sized> AsAddress for *const T { implementation
117 impl<T: ?Sized> AsAddress for *mut T { implementation
120 let ptr: *const T = self; in addr() constant
389 ) -> Result<alloc::boxed::Box<T>, AllocError> in new_box()
507 pub(crate) fn new_in_bounds(t: &T, meta: usize) -> Option<Self> in new_in_bounds()
596 ) -> Result<(MetadataOf<T>, MetadataOf<[u8]>), MetadataCastError> { in validate_cast_and_convert_metadata()
702 fn slice_from_raw_parts(data: Self, len: usize) -> NonNull<[T]>; in slice_from_raw_parts()
714 fn slice_from_raw_parts(data: Self, len: usize) -> NonNull<[T]> { in slice_from_raw_parts()
825 pub(crate) const fn new(t: T) -> Align<T, A> { in new()
849 pub(crate) fn new(t: T) -> ForceUnalign<T, A> { in new()