pub struct ContentsFileReader<R> { /* private fields */ }Implementations§
Source§impl<R: BufRead> ContentsFileReader<R>
impl<R: BufRead> ContentsFileReader<R>
Sourcepub fn into_inner(self) -> R
pub fn into_inner(self) -> R
Consumes the instance, returning the original reader.
Sourcepub fn consume(self) -> (ContentsFile, R)
pub fn consume(self) -> (ContentsFile, R)
Consume the instance and return the inner ContentsFile and the reader.
Trait Implementations§
Source§impl<R: Clone> Clone for ContentsFileReader<R>
impl<R: Clone> Clone for ContentsFileReader<R>
Source§fn clone(&self) -> ContentsFileReader<R>
fn clone(&self) -> ContentsFileReader<R>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl<R> Freeze for ContentsFileReader<R>where
R: Freeze,
impl<R> RefUnwindSafe for ContentsFileReader<R>where
R: RefUnwindSafe,
impl<R> Send for ContentsFileReader<R>where
R: Send,
impl<R> Sync for ContentsFileReader<R>where
R: Sync,
impl<R> Unpin for ContentsFileReader<R>where
R: Unpin,
impl<R> UnwindSafe for ContentsFileReader<R>where
R: UnwindSafe,
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