c5f73ed80c
This allows printing pointers to unsized types with the {:p} formatting directive. The following impls are extended to unsized types: - impl<'a, T: ?Sized> Pointer for &'a T - impl<'a, T: ?Sized> Pointer for &'a mut T - impl<T: ?Sized> Pointer for *const T - impl<T: ?Sized> Pointer for *mut T - impl<T: ?Sized> fmt::Pointer for Box<T> - impl<T: ?Sized> fmt::Pointer for Rc<T> - impl<T: ?Sized> fmt::Pointer for Arc<T> |
||
---|---|---|
.. | ||
fmt | ||
hash | ||
num | ||
any.rs | ||
array.rs | ||
atomic.rs | ||
cell.rs | ||
char.rs | ||
clone.rs | ||
cmp.rs | ||
intrinsics.rs | ||
iter.rs | ||
lib.rs | ||
mem.rs | ||
nonzero.rs | ||
ops.rs | ||
option.rs | ||
ptr.rs | ||
result.rs | ||
slice.rs | ||
str.rs | ||
tuple.rs |