pub struct ProducersFieldValuesReader<'a> { /* private fields */ }
Expand description
A reader for fields in the producers custom section.
Implementations§
source§impl<'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§
source§impl<'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?
source§fn 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§
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