Struct wasmparser::ProducersField
source · pub struct ProducersField<'a> {
pub name: &'a str,
/* private fields */
}
Expand description
A field from the producers custom section.
Fields§
§name: &'a str
The name of the field.
Implementations§
source§impl<'a> ProducersField<'a>
impl<'a> ProducersField<'a>
sourcepub fn get_producer_field_values_reader<'b>(
&self
) -> Result<ProducersFieldValuesReader<'b>>where
'a: 'b,
pub fn get_producer_field_values_reader<'b>( &self ) -> Result<ProducersFieldValuesReader<'b>>where 'a: 'b,
Gets a reader of values for the field.
Trait Implementations§
source§impl<'a> Clone for ProducersField<'a>
impl<'a> Clone for ProducersField<'a>
source§fn clone(&self) -> ProducersField<'a>
fn clone(&self) -> ProducersField<'a>
Returns a copy 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 moresource§impl<'a> Debug for ProducersField<'a>
impl<'a> Debug for ProducersField<'a>
impl<'a> Copy for ProducersField<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for ProducersField<'a>
impl<'a> Send for ProducersField<'a>
impl<'a> Sync for ProducersField<'a>
impl<'a> Unpin for ProducersField<'a>
impl<'a> UnwindSafe for ProducersField<'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