Skip to main content

luaur_analysis/methods/
path_builder_tail.rs

1use crate::enums::pack_field::PackField;
2use crate::records::path_builder::PathBuilder;
3use crate::type_aliases::component::Component;
4
5pub trait PathBuilderTail {
6    fn tail(&mut self) -> &mut Self;
7}
8
9impl PathBuilderTail for PathBuilder {
10    fn tail(&mut self) -> &mut Self {
11        self.components.push(Component::PackField(PackField::Tail));
12        self
13    }
14}