Struct physis::shpk::NodeBinReadArgBuilder
source · pub struct NodeBinReadArgBuilder<Field_system_key_count, Field_scene_key_count, Field_material_key_count, Field_subview_key_count> { /* private fields */ }
Expand description
A builder for NodeBinReadArgs
objects. Compatible with binrw::args!
.
Implementations§
source§impl<Field_scene_key_count, Field_material_key_count, Field_subview_key_count> NodeBinReadArgBuilder<Needed, Field_scene_key_count, Field_material_key_count, Field_subview_key_count>
impl<Field_scene_key_count, Field_material_key_count, Field_subview_key_count> NodeBinReadArgBuilder<Needed, Field_scene_key_count, Field_material_key_count, Field_subview_key_count>
sourcepub fn system_key_count(
self,
val: u32,
) -> NodeBinReadArgBuilder<Satisfied, Field_scene_key_count, Field_material_key_count, Field_subview_key_count>
pub fn system_key_count( self, val: u32, ) -> NodeBinReadArgBuilder<Satisfied, Field_scene_key_count, Field_material_key_count, Field_subview_key_count>
Sets system_key_count
to the given value.
source§impl<Field_system_key_count, Field_material_key_count, Field_subview_key_count> NodeBinReadArgBuilder<Field_system_key_count, Needed, Field_material_key_count, Field_subview_key_count>
impl<Field_system_key_count, Field_material_key_count, Field_subview_key_count> NodeBinReadArgBuilder<Field_system_key_count, Needed, Field_material_key_count, Field_subview_key_count>
sourcepub fn scene_key_count(
self,
val: u32,
) -> NodeBinReadArgBuilder<Field_system_key_count, Satisfied, Field_material_key_count, Field_subview_key_count>
pub fn scene_key_count( self, val: u32, ) -> NodeBinReadArgBuilder<Field_system_key_count, Satisfied, Field_material_key_count, Field_subview_key_count>
Sets scene_key_count
to the given value.
source§impl<Field_system_key_count, Field_scene_key_count, Field_subview_key_count> NodeBinReadArgBuilder<Field_system_key_count, Field_scene_key_count, Needed, Field_subview_key_count>
impl<Field_system_key_count, Field_scene_key_count, Field_subview_key_count> NodeBinReadArgBuilder<Field_system_key_count, Field_scene_key_count, Needed, Field_subview_key_count>
sourcepub fn material_key_count(
self,
val: u32,
) -> NodeBinReadArgBuilder<Field_system_key_count, Field_scene_key_count, Satisfied, Field_subview_key_count>
pub fn material_key_count( self, val: u32, ) -> NodeBinReadArgBuilder<Field_system_key_count, Field_scene_key_count, Satisfied, Field_subview_key_count>
Sets material_key_count
to the given value.
source§impl<Field_system_key_count, Field_scene_key_count, Field_material_key_count> NodeBinReadArgBuilder<Field_system_key_count, Field_scene_key_count, Field_material_key_count, Needed>
impl<Field_system_key_count, Field_scene_key_count, Field_material_key_count> NodeBinReadArgBuilder<Field_system_key_count, Field_scene_key_count, Field_material_key_count, Needed>
sourcepub fn subview_key_count(
self,
val: u32,
) -> NodeBinReadArgBuilder<Field_system_key_count, Field_scene_key_count, Field_material_key_count, Satisfied>
pub fn subview_key_count( self, val: u32, ) -> NodeBinReadArgBuilder<Field_system_key_count, Field_scene_key_count, Field_material_key_count, Satisfied>
Sets subview_key_count
to the given value.
source§impl<Field_system_key_count: SatisfiedOrOptional, Field_scene_key_count: SatisfiedOrOptional, Field_material_key_count: SatisfiedOrOptional, Field_subview_key_count: SatisfiedOrOptional> NodeBinReadArgBuilder<Field_system_key_count, Field_scene_key_count, Field_material_key_count, Field_subview_key_count>
impl<Field_system_key_count: SatisfiedOrOptional, Field_scene_key_count: SatisfiedOrOptional, Field_material_key_count: SatisfiedOrOptional, Field_subview_key_count: SatisfiedOrOptional> NodeBinReadArgBuilder<Field_system_key_count, Field_scene_key_count, Field_material_key_count, Field_subview_key_count>
sourcepub fn finalize(self) -> NodeBinReadArgs
pub fn finalize(self) -> NodeBinReadArgs
Builds the object.
Auto Trait Implementations§
impl<Field_system_key_count, Field_scene_key_count, Field_material_key_count, Field_subview_key_count> Freeze for NodeBinReadArgBuilder<Field_system_key_count, Field_scene_key_count, Field_material_key_count, Field_subview_key_count>
impl<Field_system_key_count, Field_scene_key_count, Field_material_key_count, Field_subview_key_count> RefUnwindSafe for NodeBinReadArgBuilder<Field_system_key_count, Field_scene_key_count, Field_material_key_count, Field_subview_key_count>where
Field_system_key_count: RefUnwindSafe,
Field_scene_key_count: RefUnwindSafe,
Field_material_key_count: RefUnwindSafe,
Field_subview_key_count: RefUnwindSafe,
impl<Field_system_key_count, Field_scene_key_count, Field_material_key_count, Field_subview_key_count> Send for NodeBinReadArgBuilder<Field_system_key_count, Field_scene_key_count, Field_material_key_count, Field_subview_key_count>
impl<Field_system_key_count, Field_scene_key_count, Field_material_key_count, Field_subview_key_count> Sync for NodeBinReadArgBuilder<Field_system_key_count, Field_scene_key_count, Field_material_key_count, Field_subview_key_count>
impl<Field_system_key_count, Field_scene_key_count, Field_material_key_count, Field_subview_key_count> Unpin for NodeBinReadArgBuilder<Field_system_key_count, Field_scene_key_count, Field_material_key_count, Field_subview_key_count>
impl<Field_system_key_count, Field_scene_key_count, Field_material_key_count, Field_subview_key_count> UnwindSafe for NodeBinReadArgBuilder<Field_system_key_count, Field_scene_key_count, Field_material_key_count, Field_subview_key_count>where
Field_system_key_count: UnwindSafe,
Field_scene_key_count: UnwindSafe,
Field_material_key_count: UnwindSafe,
Field_subview_key_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