pub struct Copied<'copy>(pub &'copy [u8]);
Expand description
Makes a deep copy of the input.
The lifetime of the result is independent of the input buffer.
Tuple Fields§
§0: &'copy [u8]
Trait Implementations§
Source§impl<'bytes> ReaderWithOptions<Copied<'bytes>> for File<'static>
impl<'bytes> ReaderWithOptions<Copied<'bytes>> for File<'static>
Auto Trait Implementations§
impl<'copy> Freeze for Copied<'copy>
impl<'copy> RefUnwindSafe for Copied<'copy>
impl<'copy> Send for Copied<'copy>
impl<'copy> Sync for Copied<'copy>
impl<'copy> Unpin for Copied<'copy>
impl<'copy> UnwindSafe for Copied<'copy>
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