pub struct BoundedDebug<'a, T: ?Sized> { /* private fields */ }Expand description
A debug representation that stops formatting after max_chars Unicode
characters instead of materializing the complete value before truncation.
Trait Implementations§
Auto Trait Implementations§
impl<'a, T> Freeze for BoundedDebug<'a, T>where
T: ?Sized,
impl<'a, T> RefUnwindSafe for BoundedDebug<'a, T>where
T: RefUnwindSafe + ?Sized,
impl<'a, T> Send for BoundedDebug<'a, T>
impl<'a, T> Sync for BoundedDebug<'a, T>
impl<'a, T> Unpin for BoundedDebug<'a, T>where
T: ?Sized,
impl<'a, T> UnsafeUnpin for BoundedDebug<'a, T>where
T: ?Sized,
impl<'a, T> UnwindSafe for BoundedDebug<'a, T>where
T: RefUnwindSafe + ?Sized,
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