pub struct PrettySlice<'a, T>(pub &'a [T]);
Expand description
A slice type that implements the Display
trait to pretty-print the contained elements.
Tuple Fields§
§0: &'a [T]
Trait Implementations§
Auto Trait Implementations§
impl<'a, T> Freeze for PrettySlice<'a, T>
impl<'a, T> RefUnwindSafe for PrettySlice<'a, T>where
T: RefUnwindSafe,
impl<'a, T> Send for PrettySlice<'a, T>where
T: Sync,
impl<'a, T> Sync for PrettySlice<'a, T>where
T: Sync,
impl<'a, T> Unpin for PrettySlice<'a, T>
impl<'a, T> UnwindSafe for PrettySlice<'a, T>where
T: RefUnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more