luaur_analysis/methods/path_builder_pack_slice.rs
1use crate::records::pack_slice::PackSlice;
2use crate::records::path_builder::PathBuilder;
3use crate::type_aliases::component::Component;
4
5impl PathBuilder {
6 pub fn pack_slice(&mut self, start_index: usize) -> &mut Self {
7 self.components
8 .push(Component::PackSlice(PackSlice { start_index }));
9 self
10 }
11}