Struct wasmtime_environ::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.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