Struct physis::mtrl::ColorTableBinReadArgBuilder
source · pub struct ColorTableBinReadArgBuilder<Field_set_count> { /* private fields */ }
Expand description
A builder for ColorTableBinReadArgs
objects. Compatible with binrw::args!
.
Implementations§
source§impl ColorTableBinReadArgBuilder<Needed>
impl ColorTableBinReadArgBuilder<Needed>
sourcepub fn set_count(self, val: usize) -> ColorTableBinReadArgBuilder<Satisfied>
pub fn set_count(self, val: usize) -> ColorTableBinReadArgBuilder<Satisfied>
Sets set_count
to the given value.
source§impl<Field_set_count: SatisfiedOrOptional> ColorTableBinReadArgBuilder<Field_set_count>
impl<Field_set_count: SatisfiedOrOptional> ColorTableBinReadArgBuilder<Field_set_count>
sourcepub fn finalize(self) -> ColorTableBinReadArgs
pub fn finalize(self) -> ColorTableBinReadArgs
Builds the object.
Auto Trait Implementations§
impl<Field_set_count> Freeze for ColorTableBinReadArgBuilder<Field_set_count>
impl<Field_set_count> RefUnwindSafe for ColorTableBinReadArgBuilder<Field_set_count>where
Field_set_count: RefUnwindSafe,
impl<Field_set_count> Send for ColorTableBinReadArgBuilder<Field_set_count>where
Field_set_count: Send,
impl<Field_set_count> Sync for ColorTableBinReadArgBuilder<Field_set_count>where
Field_set_count: Sync,
impl<Field_set_count> Unpin for ColorTableBinReadArgBuilder<Field_set_count>where
Field_set_count: Unpin,
impl<Field_set_count> UnwindSafe for ColorTableBinReadArgBuilder<Field_set_count>where
Field_set_count: UnwindSafe,
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