pub struct RecordBinReadArgBuilder<'__binrw_generated_args_lifetime, Field_version, Field_keychain, Field_product_type> { /* private fields */ }Expand description
A builder for RecordBinReadArgs objects. Compatible with binrw::args!.
Implementations§
Source§impl<'__binrw_generated_args_lifetime, Field_keychain, Field_product_type> RecordBinReadArgBuilder<'__binrw_generated_args_lifetime, Needed, Field_keychain, Field_product_type>
impl<'__binrw_generated_args_lifetime, Field_keychain, Field_product_type> RecordBinReadArgBuilder<'__binrw_generated_args_lifetime, Needed, Field_keychain, Field_product_type>
Sourcepub fn version(
self,
val: u8,
) -> RecordBinReadArgBuilder<'__binrw_generated_args_lifetime, Satisfied, Field_keychain, Field_product_type>
pub fn version( self, val: u8, ) -> RecordBinReadArgBuilder<'__binrw_generated_args_lifetime, Satisfied, Field_keychain, Field_product_type>
Sets version to the given value.
Source§impl<'__binrw_generated_args_lifetime, Field_version, Field_product_type> RecordBinReadArgBuilder<'__binrw_generated_args_lifetime, Field_version, Needed, Field_product_type>
impl<'__binrw_generated_args_lifetime, Field_version, Field_product_type> RecordBinReadArgBuilder<'__binrw_generated_args_lifetime, Field_version, Needed, Field_product_type>
Sourcepub fn keychain(
self,
val: &'__binrw_generated_args_lifetime RefCell<Keychain>,
) -> RecordBinReadArgBuilder<'__binrw_generated_args_lifetime, Field_version, Satisfied, Field_product_type>
pub fn keychain( self, val: &'__binrw_generated_args_lifetime RefCell<Keychain>, ) -> RecordBinReadArgBuilder<'__binrw_generated_args_lifetime, Field_version, Satisfied, Field_product_type>
Sets keychain to the given value.
Source§impl<'__binrw_generated_args_lifetime, Field_version, Field_keychain> RecordBinReadArgBuilder<'__binrw_generated_args_lifetime, Field_version, Field_keychain, Optional>
impl<'__binrw_generated_args_lifetime, Field_version, Field_keychain> RecordBinReadArgBuilder<'__binrw_generated_args_lifetime, Field_version, Field_keychain, Optional>
Sourcepub fn product_type(
self,
val: ProductType,
) -> RecordBinReadArgBuilder<'__binrw_generated_args_lifetime, Field_version, Field_keychain, Satisfied>
pub fn product_type( self, val: ProductType, ) -> RecordBinReadArgBuilder<'__binrw_generated_args_lifetime, Field_version, Field_keychain, Satisfied>
Sets product_type to the given value.
Source§impl<'__binrw_generated_args_lifetime, Field_version: SatisfiedOrOptional, Field_keychain: SatisfiedOrOptional, Field_product_type: SatisfiedOrOptional> RecordBinReadArgBuilder<'__binrw_generated_args_lifetime, Field_version, Field_keychain, Field_product_type>
impl<'__binrw_generated_args_lifetime, Field_version: SatisfiedOrOptional, Field_keychain: SatisfiedOrOptional, Field_product_type: SatisfiedOrOptional> RecordBinReadArgBuilder<'__binrw_generated_args_lifetime, Field_version, Field_keychain, Field_product_type>
Sourcepub fn finalize(self) -> RecordBinReadArgs<'__binrw_generated_args_lifetime>
pub fn finalize(self) -> RecordBinReadArgs<'__binrw_generated_args_lifetime>
Builds the object.
Auto Trait Implementations§
impl<'__binrw_generated_args_lifetime, Field_version, Field_keychain, Field_product_type> Freeze for RecordBinReadArgBuilder<'__binrw_generated_args_lifetime, Field_version, Field_keychain, Field_product_type>
impl<'__binrw_generated_args_lifetime, Field_version, Field_keychain, Field_product_type> !RefUnwindSafe for RecordBinReadArgBuilder<'__binrw_generated_args_lifetime, Field_version, Field_keychain, Field_product_type>
impl<'__binrw_generated_args_lifetime, Field_version, Field_keychain, Field_product_type> !Send for RecordBinReadArgBuilder<'__binrw_generated_args_lifetime, Field_version, Field_keychain, Field_product_type>
impl<'__binrw_generated_args_lifetime, Field_version, Field_keychain, Field_product_type> !Sync for RecordBinReadArgBuilder<'__binrw_generated_args_lifetime, Field_version, Field_keychain, Field_product_type>
impl<'__binrw_generated_args_lifetime, Field_version, Field_keychain, Field_product_type> Unpin for RecordBinReadArgBuilder<'__binrw_generated_args_lifetime, Field_version, Field_keychain, Field_product_type>
impl<'__binrw_generated_args_lifetime, Field_version, Field_keychain, Field_product_type> !UnwindSafe for RecordBinReadArgBuilder<'__binrw_generated_args_lifetime, Field_version, Field_keychain, Field_product_type>
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