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> Freeze for ProducersField<'a>
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
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
)source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more