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>
Source§impl<'a> FromReader<'a> for ProducersFieldValue<'a>
impl<'a> FromReader<'a> for ProducersFieldValue<'a>
Source§fn from_reader(
reader: &mut BinaryReader<'a>,
) -> Result<ProducersFieldValue<'a>, BinaryReaderError>
fn from_reader( reader: &mut BinaryReader<'a>, ) -> Result<ProducersFieldValue<'a>, BinaryReaderError>
Attempts to read
Self
from the provided binary reader, returning an
error if it is unable to do so.impl<'a> Copy for ProducersFieldValue<'a>
Auto Trait Implementations§
impl<'a> Freeze for ProducersFieldValue<'a>
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)