pub struct ApplyOption {
pub kind: ApplyOptionKind,
pub value: bool,
}Expand description
APLY chunk: toggles a boolean flag on the crate::ApplyContext.
Fields§
§kind: ApplyOptionKindWhich flag this chunk targets.
value: boolNew value of the targeted flag.
Trait Implementations§
Source§impl Apply for ApplyOption
impl Apply for ApplyOption
Source§impl BinRead for ApplyOption
impl BinRead for ApplyOption
Source§fn read_options<R: Read + Seek>(
__binrw_generated_var_reader: &mut R,
__binrw_generated_var_endian: Endian,
__binrw_generated_var_arguments: Self::Args<'_>,
) -> BinResult<Self>
fn read_options<R: Read + Seek>( __binrw_generated_var_reader: &mut R, __binrw_generated_var_endian: Endian, __binrw_generated_var_arguments: Self::Args<'_>, ) -> BinResult<Self>
Source§fn read<R>(reader: &mut R) -> Result<Self, Error>
fn read<R>(reader: &mut R) -> Result<Self, Error>
Read
Self from the reader using default arguments. Read moreSource§fn read_be<R>(reader: &mut R) -> Result<Self, Error>
fn read_be<R>(reader: &mut R) -> Result<Self, Error>
Read
Self from the reader using default arguments and assuming
big-endian byte order. Read moreSource§fn read_le<R>(reader: &mut R) -> Result<Self, Error>
fn read_le<R>(reader: &mut R) -> Result<Self, Error>
Read
Self from the reader using default arguments and assuming
little-endian byte order. Read moreSource§fn read_ne<R>(reader: &mut R) -> Result<Self, Error>
fn read_ne<R>(reader: &mut R) -> Result<Self, Error>
Read
T from the reader assuming native-endian byte order. Read moreSource§fn read_args<R>(reader: &mut R, args: Self::Args<'_>) -> Result<Self, Error>
fn read_args<R>(reader: &mut R, args: Self::Args<'_>) -> Result<Self, Error>
Read
Self from the reader using the given arguments. Read moreSource§fn read_be_args<R>(reader: &mut R, args: Self::Args<'_>) -> Result<Self, Error>
fn read_be_args<R>(reader: &mut R, args: Self::Args<'_>) -> Result<Self, Error>
Read
Self from the reader, assuming big-endian byte order, using the
given arguments. Read moreSource§impl Clone for ApplyOption
impl Clone for ApplyOption
Source§fn clone(&self) -> ApplyOption
fn clone(&self) -> ApplyOption
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ApplyOption
impl Debug for ApplyOption
Source§impl PartialEq for ApplyOption
impl PartialEq for ApplyOption
Source§fn eq(&self, other: &ApplyOption) -> bool
fn eq(&self, other: &ApplyOption) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl ReadEndian for ApplyOption
impl ReadEndian for ApplyOption
Source§const ENDIAN: EndianKind
const ENDIAN: EndianKind
The endianness of the type.
impl Eq for ApplyOption
impl StructuralPartialEq for ApplyOption
Auto Trait Implementations§
impl Freeze for ApplyOption
impl RefUnwindSafe for ApplyOption
impl Send for ApplyOption
impl Sync for ApplyOption
impl Unpin for ApplyOption
impl UnsafeUnpin for ApplyOption
impl UnwindSafe for ApplyOption
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