Trait std::io::AsRefReaderDeprecated
[-]
[+]
[src]
pub trait AsRefReader { fn by_ref<'a>(&'a mut self) -> RefReader<'a, Self>; }
A reader which can be converted to a RefReader.
Required Methods
fn by_ref<'a>(&'a mut self) -> RefReader<'a, Self>
Creates a wrapper around a mutable reference to the reader.
This is useful to allow applying adaptors while still retaining ownership of the original value.
Implementors
impl<T: Reader> AsRefReader for T