Struct wasmtime_environ::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
sourceimpl<'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
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 more
sourceimpl<'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 T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more