pub struct BytesDisplay<'a>(/* private fields */);
Expand description
Helper for formatting string-like data.
The data is lossily converted to UTF-8, with invalid UTF-8 sequences converted to ‘�’.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for BytesDisplay<'a>
impl<'a> RefUnwindSafe for BytesDisplay<'a>
impl<'a> Send for BytesDisplay<'a>
impl<'a> Sync for BytesDisplay<'a>
impl<'a> Unpin for BytesDisplay<'a>
impl<'a> UnwindSafe for BytesDisplay<'a>
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