pub struct Utf16Display<'a>(pub &'a [u16]);Expand description
A Vec<u16> rendered for a test assertion or a diagnostic.
Lossy by construction; never used to build a command line.
Tuple Fields§
§0: &'a [u16]Trait Implementations§
Source§impl<'a> Clone for Utf16Display<'a>
impl<'a> Clone for Utf16Display<'a>
Source§fn clone(&self) -> Utf16Display<'a>
fn clone(&self) -> Utf16Display<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a> Debug for Utf16Display<'a>
impl<'a> Debug for Utf16Display<'a>
Source§impl Display for Utf16Display<'_>
impl Display for Utf16Display<'_>
impl<'a> Eq for Utf16Display<'a>
Source§impl<'a> PartialEq for Utf16Display<'a>
impl<'a> PartialEq for Utf16Display<'a>
impl<'a> StructuralPartialEq for Utf16Display<'a>
Auto Trait Implementations§
impl<'a> Freeze for Utf16Display<'a>
impl<'a> RefUnwindSafe for Utf16Display<'a>
impl<'a> Send for Utf16Display<'a>
impl<'a> Sync for Utf16Display<'a>
impl<'a> Unpin for Utf16Display<'a>
impl<'a> UnsafeUnpin for Utf16Display<'a>
impl<'a> UnwindSafe for Utf16Display<'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