Struct wasmparser_nostd::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
sourceimpl<'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
sourceimpl<'a> Clone for ProducersField<'a>
impl<'a> Clone for ProducersField<'a>
sourcefn clone(&self) -> ProducersField<'a>
fn clone(&self) -> ProducersField<'a>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl<'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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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