Struct cranelift_wasm::wasmparser::ProducersField
source · pub struct ProducersField<'a> {
pub name: &'a str,
pub values: SectionLimited<'a, ProducersFieldValue<'a>>,
}
Expand description
A field from the producers custom section.
Fields§
§name: &'a str
The name of the field.
values: SectionLimited<'a, ProducersFieldValue<'a>>
The values specified for this 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>
source§impl<'a> FromReader<'a> for ProducersField<'a>
impl<'a> FromReader<'a> for ProducersField<'a>
source§fn from_reader(
reader: &mut BinaryReader<'a>
) -> Result<ProducersField<'a>, BinaryReaderError>
fn from_reader( reader: &mut BinaryReader<'a> ) -> Result<ProducersField<'a>, BinaryReaderError>
Attempts to read
Self
from the provided binary reader, returning an
error if it is unable to do so.