Struct cranelift_wasm::wasmparser::ProducersFieldValue
source · pub struct ProducersFieldValue<'a> {
pub name: &'a str,
pub version: &'a str,
}
Expand description
Represents a field value in the producers custom section.
Fields§
§name: &'a str
The field name.
version: &'a str
The field version.
Trait Implementations§
source§impl<'a> Clone for ProducersFieldValue<'a>
impl<'a> Clone for ProducersFieldValue<'a>
source§fn clone(&self) -> ProducersFieldValue<'a>
fn clone(&self) -> ProducersFieldValue<'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 ProducersFieldValue<'a>
impl<'a> Debug for ProducersFieldValue<'a>
impl<'a> Copy for ProducersFieldValue<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for ProducersFieldValue<'a>
impl<'a> Send for ProducersFieldValue<'a>
impl<'a> Sync for ProducersFieldValue<'a>
impl<'a> Unpin for ProducersFieldValue<'a>
impl<'a> UnwindSafe for ProducersFieldValue<'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