Struct cranelift_wasm::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>, BinaryReaderError>where
'a: 'b,
pub fn get_producer_field_values_reader<'b>(
&self
) -> Result<ProducersFieldValuesReader<'b>, BinaryReaderError>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 more