pub struct ProducersFieldValuesReader<'a> { /* private fields */ }
Expand description
A reader for fields in the producers custom section.
Implementations
sourceimpl<'a> ProducersFieldValuesReader<'a>
impl<'a> ProducersFieldValuesReader<'a>
sourcepub fn original_position(&self) -> usize
pub fn original_position(&self) -> usize
Gets the original position of the reader.
sourcepub fn read<'b>(&mut self) -> Result<ProducersFieldValue<'b>, BinaryReaderError> where
'a: 'b,
pub fn read<'b>(&mut self) -> Result<ProducersFieldValue<'b>, BinaryReaderError> where
'a: 'b,
Reads a field from the reader.
Trait Implementations
sourceimpl<'a> IntoIterator for ProducersFieldValuesReader<'a>
impl<'a> IntoIterator for ProducersFieldValuesReader<'a>
type Item = Result<ProducersFieldValue<'a>, BinaryReaderError>
type Item = Result<ProducersFieldValue<'a>, BinaryReaderError>
The type of the elements being iterated over.
type IntoIter = ProducersFieldValuesIterator<'a>
type IntoIter = ProducersFieldValuesIterator<'a>
Which kind of iterator are we turning this into?
sourcefn into_iter(self) -> <ProducersFieldValuesReader<'a> as IntoIterator>::IntoIter
fn into_iter(self) -> <ProducersFieldValuesReader<'a> as IntoIterator>::IntoIter
Creates an iterator from a value. Read more
Auto Trait Implementations
impl<'a> RefUnwindSafe for ProducersFieldValuesReader<'a>
impl<'a> Send for ProducersFieldValuesReader<'a>
impl<'a> Sync for ProducersFieldValuesReader<'a>
impl<'a> Unpin for ProducersFieldValuesReader<'a>
impl<'a> UnwindSafe for ProducersFieldValuesReader<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more