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