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>
source§impl<'bytes> ReaderWithOptions<Copied<'bytes>> for File<'static>
impl<'bytes> ReaderWithOptions<Copied<'bytes>> for File<'static>
Auto Trait Implementations§
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